Improper input validation in Smarty
CVE-2021-21408
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.43 and 4.0.3, template authors could run restricted static php methods. Users should upgrade to versi…
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.022 (80.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Smarty
- Smarty-php Smarty — versions < 3.1.43, >= 4.0.0, < 4.0.3
- Debian Debian_linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 36, 37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (Third Party Advisory, Release Notes)
- security-advisories@github.com (Third Party Advisory, Release Notes)
- security-advisories@github.com (mailing-list, Mailing List, Third Party Advisory)
- security-advisories@github.com (vendor-advisory, Third Party Advisory)
- security-advisories@github.com (vendor-advisory, Third Party Advisory)
- security-advisories@github.com (vendor-advisory)
- security-advisories@github.com (vendor-advisory)
Frequently asked questions
- What is CVE-2021-21408?
- CVE-2021-21408 is a high-severity vulnerability in Smarty, classified under Improper Input Validation. CVSS score: 8.8/10. Published 2022-01-10.
- How severe is CVE-2021-21408?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2021-21408 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.