{"action":"Upgrade smarty/smarty to 3.1.42 or later.","affected":[{"fixed":"3.1.42","introduced":"0"},{"fixed":"4.0.2","introduced":"4.0.0"}],"component":"smarty/smarty","cve_ids":["CVE-2021-29454"],"ecosystem":"Packagist","epss":0.01801,"exploited":false,"fixed_versions":["3.1.42","4.0.2"],"ghsa_id":"GHSA-29gp-2c3m-3j6m","id":"tcs_01M5KERSE5JA3XDP6795NJKXAX","modified_at":"2026-07-08T06:29:24.141924435Z","published_at":"2022-01-12T22:43:00Z","references":["https://osv.dev/vulnerability/GHSA-29gp-2c3m-3j6m","https://github.com/smarty-php/smarty/security/advisories/GHSA-29gp-2c3m-3j6m","https://nvd.nist.gov/vuln/detail/CVE-2021-29454","https://github.com/smarty-php/smarty/commit/215d81a9fa3cd63d82fb3ab56ecaf97cf1e7db71","https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2021-29454.yaml","https://github.com/smarty-php/smarty","https://github.com/smarty-php/smarty/releases/tag/v3.1.42","https://github.com/smarty-php/smarty/releases/tag/v4.0.2","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://packagist.org/packages/smarty/smarty","https://security.gentoo.org/glsa/202209-09","https://www.debian.org/security/2022/dsa-5151","https://www.smarty.net/docs/en/language.function.math.tpl"],"severity":{"label":"high","score":8.1},"sources":[{"source":"osv","source_id":"GHSA-29gp-2c3m-3j6m","url":"https://osv.dev/vulnerability/GHSA-29gp-2c3m-3j6m"}],"summary":"Sandbox Escape by math function in smarty"}