CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (8.8). EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in smarty/smarty 3.1.43, 4.0.3.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsmarty/smarty (Packagist): fixed in 3.1.43, 4.0.3Explain CVE-2021-21408 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21408?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21408?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21408 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| smarty:smarty | before 3.1.43 |
| smarty:smarty | from 4.0.0 before 4.0.3 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| fedoraproject:fedora | 36 |
| fedoraproject:fedora | 37 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4h9c-v5vg-5m6m | Packagist | smarty/smarty | <3.1.43 | 3.1.43 |
| GHSA-4h9c-v5vg-5m6m | Packagist | smarty/smarty | >=4.0.0 <4.0.3 | 4.0.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u5 | DLA-2995-1 |
| Debian | 10 | smarty3 | 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1 | DSA-5151-1 |
| Debian | 11 | smarty3 | 3.1.39-2+deb11u1 | DSA-5151-1 |
| Debian | 12, 13, 14 | smarty3 | 3.1.45-1 | DEBIAN-CVE-2021-21408 |
| Debian | 12, 13, 14 | smarty4 | 4.1.1-1 | DEBIAN-CVE-2021-21408 |
| Ubuntu | 18.04:LTS | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 | UBUNTU-CVE-2021-21408 USN-5348-1 |
| Ubuntu | 22.04:LTS | smarty3 | 3.1.39-2ubuntu1 | UBUNTU-CVE-2021-21408 |
| Ubuntu | Pro:16.04:LTS | smarty3 | 3.1.21-1ubuntu1+esm1 | UBUNTU-CVE-2021-21408 USN-5348-2 |
| Ubuntu | Pro:20.04:LTS | smarty3 | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-21408 USN-5348-3 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).