CVE-2022-29221: debian debian_linux Code Injection
Vulnerability summary
CVE-2022-29221 is a high (CVSS 8.8) Code Injection vulnerability in debian debian_linux. EPSS estimates a 4.91% chance of exploitation in the next 30 days, higher than 92% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 24-05-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.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.
CVSS metrics
5 scores · 4 sources · 2 versions- 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
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.91%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
0.00 pp
From 4.91% 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
Ubuntu5 products
- collabtiveAll versions (No fix recorded)
- galetteAll versions (No fix recorded)
- gosaAll versions (No fix recorded)
- postfixadmin< 3.0.2-2ubuntu0.1~esm1 | < 3.2.1-3ubuntu0.1~esm1 | < 3.3.10-2ubuntu0.1~esm1
- smarty3All versions (No fix recorded) | < 3.1.39-2ubuntu1.22.04.1
Debian3 products
- smarty3< 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u6 | < 3.1.45-1
- smarty4< 4.1.1-1
- debian_linuxEOL9.0 | 10.0 | 11.0
Fedoraproject1 product
- fedoraEOL36 | 37
Mageia1 product
- php-smarty< 4.1.1-1.mga8
Smarty1 product
- smarty< 3.1.45 | ≥ 4.0.0, < 4.1.1
Smarty-php1 product
- smarty< 3.1.45 | ≥ 4.0.0, < 4.1.1
6 vendors · 12 products
References
17 links- github.com/smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4cAdvisoryREPORTThird Party Advisory
- github.com/smarty-php/smarty/commit/64ad6442ca1da31cefdab5c9874262b702cccdddREPORTPatchThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory