CVE & CISA-KEV Catalog

CVE-2021-29454

HIGHEPSS 78th pctl
8.1
CVSS v3
NVD

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.

How to fix

Remediation Available
smarty3Debian
Fixed in:3.1.39-2+deb11u1CVE-2021-29454
Fixed in:3.1.45-1CVE-2021-29454
Fixed in:3.1.45-1CVE-2021-29454
Fixed in:3.1.45-1CVE-2021-29454
smarty3Ubuntu
Fixed in:3.1.21-1ubuntu1+esm1USN-5348-2
Fixed in:3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1USN-5348-1
Fixed in:3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1USN-5348-3

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Exploit Intelligence

1.93%probability of exploitation in 30 days
78thpercentile

Elevated risk: more likely to be exploited than 78% of all known CVEs.

References

Related Vulnerabilities

Other CWE-74 (Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2013-2251Critical9.8100%KEVFix
CVE-2023-22527Critical9.8100%KEV + RansomFix
CVE-2019-2725Critical9.8100%KEV + RansomFix
CVE-2022-46169Critical9.8100%KEVFix
CVE-2022-35914Critical9.8100%KEV-
CVE-2019-17558High7.599%KEVFix
Embed a live status badge for CVE-2021-29454
CVE-2021-29454 severity badge

Markdown

[![CVE-2021-29454](https://tridentstack.com/cve/badge/CVE-2021-29454.svg)](https://tridentstack.com/cve/CVE-2021-29454)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-29454"><img src="https://tridentstack.com/cve/badge/CVE-2021-29454.svg" alt="CVE-2021-29454"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.