8.8

CVE-2022-29221: debian debian_linux Code Injection

CVSS: 8.8v3.1HighModified
AliasesMGASA-2022-0226UBUNTU-CVE-2022-29221USN-6012-1
Published 24-05-2022Last modified 23-04-2025

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.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
4.91%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 24-05-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last 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

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

20-09-202620-10-2026
EPSS score
4.91%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
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
Show all 17 references