CRITICAL9.8
GHSA-9m49-vhwv-422g
Smarty PHP code injection
Quick fix
GHSA-9m49-vhwv-422g — smarty/smarty: upgrade to the fixed version with the command below.
composer require smarty/smarty:^3.1.32Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000480[ADVISORY]
- https://github.com/smarty-php/smarty[PACKAGE]
- https://github.com/smarty-php/smarty/blob/master/change_log.txt[WEB]
- https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html[WEB]
- https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html[WEB]
- https://www.debian.org/security/2018/dsa-4094[WEB]