CVE-2021-29454
Summary
| CVE | CVE-2021-29454 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-10 20:15:00 UTC |
| Updated | 2023-11-07 03:32:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| {math} | Smarty |
MISC |
www.smarty.net |
|
| [SECURITY] Fedora 36 Update: php-Smarty-3.1.47-1.fc36 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] [DLA 2995-1] smarty3 security update |
MLIST |
lists.debian.org |
|
| Sandbox Escape by math function · Advisory · smarty-php/smarty · GitHub |
CONFIRM |
github.com |
|
| [SECURITY] Fedora 37 Update: php-Smarty-3.1.47-1.fc37 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Merge pull request from GHSA-29gp-2c3m-3j6m · smarty-php/smarty@215d81a · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 37 Update: php-Smarty-3.1.47-1.fc37 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| Release v3.1.42 · smarty-php/smarty · GitHub |
MISC |
github.com |
|
| Smarty: Multiple vulnerabilities (GLSA 202209-09) — Gentoo security |
GENTOO |
security.gentoo.org |
|
| Release v4.0.2 · smarty-php/smarty · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 36 Update: php-Smarty-3.1.47-1.fc36 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| smarty/smarty - Packagist |
MISC |
packagist.org |
|
| Debian -- Security Information -- DSA-5151-1 smarty3 |
DEBIAN |
www.debian.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 179265 Debian Security Update for smarty3 (DLA 2995-1)
- 179330 Debian Security Update for smarty3 (DSA 5151-1)
- 184871 Debian Security Update for smarty3smarty4 (CVE-2021-29454)
- 198715 Ubuntu Security Notification for Smarty Vulnerabilities (USN-5348-1)
- 283228 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-52154efd61)
- 283474 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-d5fc9dcdd7)
- 710622 Gentoo Linux Smarty Multiple Vulnerabilities (GLSA 202209-09)