CVE-2021-29454
moderate-risk
Published 2022-01-10
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.
Do I need to act?
-
0.64% chance of exploitation
EPSS score — low exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
?
Patch status unknown
Check vendor advisories for fix availability and mitigation guidance
8
CVSS 8.1/10
High
NETWORK
/ LOW complexity
Affected Products (6)
Affected Vendors
References (22)
Release Notes
https://github.com/smarty-php/smarty/releases/tag/v4.0.2
Third Party Advisory
https://github.com/smarty-php/smarty/security/advisories/GHSA-29gp-2c3m-3j6m
Third Party Advisory
https://security.gentoo.org/glsa/202209-09
Third Party Advisory
https://www.debian.org/security/2022/dsa-5151
Vendor Advisory
https://www.smarty.net/docs/en/language.function.math.tpl
Release Notes
https://github.com/smarty-php/smarty/releases/tag/v4.0.2
Third Party Advisory
https://github.com/smarty-php/smarty/security/advisories/GHSA-29gp-2c3m-3j6m
Third Party Advisory
https://security.gentoo.org/glsa/202209-09
and 2 more references
43
/ 100
moderate-risk
Severity
28/34 · Critical
Exploitability
2/34 · Minimal
Exposure
13/34 · Low