CVE-2017-1000480

NameCVE-2017-1000480
DescriptionSmarty 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1249-1, DSA-4094-1
Debian Bugs886460

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
smarty3 (PTS)bullseye3.1.39-2+deb11u1fixed
bullseye (security)3.1.39-2+deb11u2fixed
bookworm3.1.47-2fixed
sid, trixie3.1.48-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
smartysource(unstable)(unfixed)
smarty3sourcewheezy3.1.10-2+deb7u2DLA-1249-1
smarty3sourcejessie3.1.21-1+deb8u1DSA-4094-1
smarty3sourcestretch3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u1DSA-4094-1
smarty3source(unstable)3.1.31+20161214.1.c7d42e4+selfpack1-3886460

Notes

https://github.com/smarty-php/smarty/commit/614ad1f8b9b00086efc123e49b7bb8efbfa81b61

Search for package or bug name: Reporting problems