Advisory Published

USN-7158-1: Smarty vulnerabilities

First published: Thu Dec 12 2024(Updated: )

It was discovered that Smarty incorrectly handled query parameters in requests. An attacker could possibly use this issue to inject arbitrary Javascript code, resulting in denial of service or potential execution of arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2018-25047, CVE-2023-28447) It was discovered that Smarty did not properly sanitize user input when generating templates. An attacker could, through PHP injection, possibly use this issue to execute arbitrary code. (CVE-2024-35226)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/smarty3<3.1.48-1ubuntu0.24.10.1
3.1.48-1ubuntu0.24.10.1
Ubuntu Ubuntu=24.10
All of
ubuntu/smarty3<3.1.48-1ubuntu0.24.04.1
3.1.48-1ubuntu0.24.04.1
Ubuntu Ubuntu=24.04
All of
ubuntu/smarty3<3.1.39-2ubuntu1.22.04.2
3.1.39-2ubuntu1.22.04.2
Ubuntu Ubuntu=22.04
All of
ubuntu/smarty3<3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
Ubuntu Ubuntu=20.04
All of
ubuntu/smarty3<3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1
3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1
Ubuntu Ubuntu=18.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203