CVE-2017-1000480
Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when call ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | smarty/smarty | 3.1.32 |
| debian 11 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 |
| debian 12 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 |
| debian 13 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 |
| debian 14 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 |
| debian 7 | smarty3 | 3.1.10-2+deb7u2 |
| debian 8 | smarty3 | 3.1.21-1+deb8u1 |
| debian 9 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u1 |
| echo | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 |
| ubuntu 18.04 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 |
| ubuntu 18.04-ESM | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3 |
References
- https://github.com/smarty-php/smarty
- https://github.com/smarty-php/smarty/blob/master/change_log.txt
- https://github.com/smarty-php/smarty/commit/614ad1f8b9b00086efc123e49b7bb8efbfa81b61
- https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html
- https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000480
- https://www.cve.org/CVERecord?id=CVE-2017-1000480
- https://www.debian.org/security/2018/dsa-4094