CVE-2021-29454

Description

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.42 and 4.0.2, template authors could run arbitrary PHP code by crafting a malicious math string. If a math string was passed through as user provided data to the math function, external users could run arbitrary PHP code by crafting a malicious math string. Users should upgrade to version 3.1.42 or 4.0.2 to receive a patch.

Risk Information

Base Score
8.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.643

Associated Vulnerability

VulnerabilityOS Platform
smarty3 security update(DSA-5151-1) smarty3_3.1.39-2+deb11u1_all.debLinux
smarty3 security update(DSA-5151-1) smarty3_3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1_all.debLinux
smarty3 security update(DSA-5151-1) Debian_smarty3_3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1_all.debLinux
The compiling PHP template engine (USN-5348-1) smarty3_3.1.39-2ubuntu0.21.10.1_all.debLinux
The compiling PHP template engine (USN-5348-1) smarty3_3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1_all.debLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234