{"id":"GHSA-9m49-vhwv-422g","summary":"Smarty PHP code injection","details":"Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.","aliases":["CVE-2017-1000480"],"modified":"2024-04-24T23:11:41.585135Z","published":"2022-05-14T03:46:35Z","database_specific":{"cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-04-24T22:53:36Z","nvd_published_at":"2018-01-03T18:29:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000480"},{"type":"PACKAGE","url":"https://github.com/smarty-php/smarty"},{"type":"WEB","url":"https://github.com/smarty-php/smarty/blob/master/change_log.txt"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html"},{"type":"WEB","url":"https://www.debian.org/security/2018/dsa-4094"}],"affected":[{"package":{"name":"smarty/smarty","ecosystem":"Packagist","purl":"pkg:composer/smarty/smarty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3"},{"fixed":"3.1.32"}]}],"versions":["v3.1.11","v3.1.12","v3.1.13","v3.1.14","v3.1.15","v3.1.16","v3.1.17","v3.1.18","v3.1.19","v3.1.20","v3.1.21","v3.1.23","v3.1.24","v3.1.25","v3.1.26","v3.1.27","v3.1.28","v3.1.29","v3.1.30","v3.1.31"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9m49-vhwv-422g/GHSA-9m49-vhwv-422g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}