Vulnerability · Published Feb 22, 2021 · Assigned by mitre
CVE-2021-26120
Critical 9.8
In plain English
A critical-severity security flaw in the smarty3 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 82.3% (higher than 99.7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)82.3%top 0.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | smarty3 | 3.1.39-1 | DEBIAN-CVE-2021-26120 |
| Debian:13 | smarty3 | 3.1.39-1 | DEBIAN-CVE-2021-26120 |
| Debian:14 | smarty3 | 3.1.39-1 | DEBIAN-CVE-2021-26120 |
| Packagist | smarty/smarty | 3.1.39 | GHSA-3rpf-5rqv-689q |
Affected products (as reported)
References
- https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md x_refsource_MISC
- [debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression update mailing-list, x_refsource_MLIST
- GLSA-202105-06 vendor-advisory, x_refsource_GENTOO
- DSA-5151 vendor-advisory, x_refsource_DEBIAN