smarty-php/smarty · Security
Smarty PHP code injection
- GHSA ID
- GHSA-9m49-vhwv-422g
- CVE ID
- CVE-2017-1000480
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000480 ↗
- https://github.com/smarty-php/smarty/blob/master/change_log.txt ↗
- https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html ↗
- https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html ↗
- https://www.debian.org/security/2018/dsa-4094 ↗
- https://github.com/advisories/GHSA-9m49-vhwv-422g ↗