CVE-2021-29454: debian debian_linux Injection
Vulnerability summary
CVE-2021-29454 is a high (CVSS 8.8) Injection vulnerability in debian debian_linux. EPSS estimates a 1.93% chance of exploitation in the next 30 days, higher than 79.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 10-01-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.93%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
0.00 pp
From 1.93% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian3 products
- smarty3< 3.1.45-1
- smarty4< 4.1.1-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Fedoraproject1 product
- fedoraEOL36 | 37
Smarty1 product
- smarty< 3.1.42 | ≥ 4.0.0, < 4.0.2
Smarty-php1 product
- smarty< 3.1.42 | ≥ 4.0.0, < 4.0.2
Ubuntu1 product
- smarty3< 3.1.21-1ubuntu1+esm1 | < 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 | < 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1 | < 3.1.39-2ubuntu1
5 vendors · 7 products
References
17 links- github.com/smarty-php/smarty/commit/215d81a9fa3cd63d82fb3ab56ecaf97cf1e7db71REPORTPatchThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
Show all 17 references
- lists.fedoraproject.org/archives/…Vendor Advisory