CVE-2021-29454: Sandbox Escape by math function in smarty
smarty-php · smarty
Vendor fix available · Affected: smarty-php · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 79% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- smarty-php · smarty< 3.1.42; >= 4.0.0, < 4.0.2
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- smarty-php
- Published
- January 2022
CoverageNo articles yet
No CyberSIXT article names CVE-2021-29454 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-74cwe.mitre.org
- Vendor advisorydebian.org
- Vendor advisorysecurity.gentoo.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorylists.fedoraproject.org
- github.com/smarty-php/smarty/security/advisories/GHSA-29gp-2c3m-github.com
- github.com/smarty-php/smarty/commit/215d81a9fa3cd63d82fb3ab56ecagithub.com
- github.com/smarty-php/smarty/releases/tag/v3.1.42github.com
- github.com/smarty-php/smarty/releases/tag/v4.0.2github.com
- packagist.org/packages/smarty/smartypackagist.org
- smarty.net/docs/en/language.function.math.tplsmarty.net
- Mailing listlists.debian.org