ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2024-35226

Details

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an extends-tag. Sites that cannot fully trust template authors should update asap. All users are advised to update. There is no patch for users on the v3 branch. There are no known workarounds for this vulnerability.

Affected packages

EcosystemPackageAffected versions
Debian:12smarty3
All versions before 3.1.47-2+deb12u1 (fixed in 3.1.47-2+deb12u1)
Debian:13smarty3
All versions before 3.1.48-2 (fixed in 3.1.48-2)
Debian:14smarty3
All versions before 3.1.48-2 (fixed in 3.1.48-2)
Debian:12smarty4
All versions before 4.3.0-1+deb12u2 (fixed in 4.3.0-1+deb12u2)
Debian:13smarty4
All versions before 4.5.4-1 (fixed in 4.5.4-1)
Debian:14smarty4
All versions before 4.5.4-1 (fixed in 4.5.4-1)

References