Affected versions
Ubuntu20.04:LTS/smarty3
- Affected versions
- <3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 || =3.1.33+20180830.1.3a78a21f+selfpack1-1 || =3.1.34+20190228.1.c9f0de05+selfpack1-1
- Fixed version
- 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
Ubuntu22.04:LTS/smarty3
- Affected versions
- <3.1.39-2ubuntu1.22.04.2 || =3.1.39-2 || =3.1.39-2ubuntu1 || =3.1.39-2ubuntu1.22.04.1
- Fixed version
- 3.1.39-2ubuntu1.22.04.2
Ubuntu24.04:LTS/smarty3
- Affected versions
- <3.1.48-1ubuntu0.24.04.1 || =3.1.48-1
- Fixed version
- 3.1.48-1ubuntu0.24.04.1
Ubuntu24.04:LTS/smarty4
- Affected versions
- <4.3.1-1ubuntu0.24.04.1 || =4.3.1-1
- Fixed version
- 4.3.1-1ubuntu0.24.04.1
Ubuntu25.10/smarty3
- Affected versions
- * || =3.1.48-2
- Fixed version
- Not reported
Ubuntu26.04:LTS/smarty3
- Affected versions
- * || =3.1.48-2 || =3.1.48-2build1
- Fixed version
- Not reported
Ubuntu26.10/smarty3
- Affected versions
- * || =3.1.48-2build1
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/smarty3
- Affected versions
- * || =3.1.21-1 || =3.1.21-1ubuntu1 || =3.1.21-1ubuntu1+esm1 || =3.1.21-1ubuntu1+esm2
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/smarty3
- Affected versions
- <3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 || =3.1.31+20161214.1.c7d42e4+selfpack1-2 || =3.1.31+20161214.1.c7d42e4+selfpack1-3 || =3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
- Fixed version
- 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1
Description
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.
Links
- https://github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a
- https://github.com/smarty-php/smarty/commit/76881c8d33d80648f70c9b0339f770f5f69a87a2
- https://github.com/smarty-php/smarty/security/advisories/GHSA-4rmg-292m-wg3w
- https://ubuntu.com/security/CVE-2024-35226
- https://ubuntu.com/security/notices/USN-7158-1
- https://ubuntu.com/security/notices/USN-7377-1
- https://www.cve.org/CVERecord?id=CVE-2024-35226

