{"action":"Upgrade smarty/smarty to 3.1.43 or later.","affected":[{"fixed":"3.1.43","introduced":"0"},{"fixed":"4.0.3","introduced":"4.0.0"}],"component":"smarty/smarty","cve_ids":["CVE-2021-21408"],"ecosystem":"Packagist","epss":0.02143,"exploited":false,"fixed_versions":["3.1.43","4.0.3"],"ghsa_id":"GHSA-4h9c-v5vg-5m6m","id":"tcs_01M5KEV0H0HGBQWARE9MN1KXBD","modified_at":"2026-07-08T06:28:50.962307199Z","published_at":"2022-01-12T22:43:42Z","references":["https://osv.dev/vulnerability/GHSA-4h9c-v5vg-5m6m","https://github.com/smarty-php/smarty/security/advisories/GHSA-4h9c-v5vg-5m6m","https://nvd.nist.gov/vuln/detail/CVE-2021-21408","https://github.com/smarty-php/smarty/commit/19ae410bf56007a5ef24441cdc6414619cfaf664","https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2021-21408.yaml","https://github.com/smarty-php/smarty","https://github.com/smarty-php/smarty/releases/tag/v3.1.43","https://github.com/smarty-php/smarty/releases/tag/v4.0.3","https://lists.debian.org/debian-lts-announce/2022/05/msg00005.html","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI","https://security.gentoo.org/glsa/202209-09","https://www.debian.org/security/2022/dsa-5151"],"severity":{"label":"high","score":8.8},"sources":[{"source":"osv","source_id":"GHSA-4h9c-v5vg-5m6m","url":"https://osv.dev/vulnerability/GHSA-4h9c-v5vg-5m6m"}],"summary":"Access to restricted PHP code by dynamic static class access in smarty"}