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 Software | Affected Version | How to fix |
---|---|---|
All of | ||
ubuntu/smarty3 | <3.1.48-1ubuntu0.24.10.1 | 3.1.48-1ubuntu0.24.10.1 |
=24.10 | ||
All of | ||
ubuntu/smarty3 | <3.1.48-1ubuntu0.24.04.1 | 3.1.48-1ubuntu0.24.04.1 |
=24.04 | ||
All of | ||
ubuntu/smarty3 | <3.1.39-2ubuntu1.22.04.2 | 3.1.39-2ubuntu1.22.04.2 |
=22.04 | ||
All of | ||
ubuntu/smarty3 | <3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1 |
=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 |
=18.04 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Contains the following vulnerabilities)
The severity of USN-7158-1 is high due to the potential for arbitrary code execution.
To fix USN-7158-1, upgrade to the recommended secure version of the smarty3 package for your Ubuntu version.
USN-7158-1 affects Ubuntu 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS, and 24.10.
USN-7158-1 describes a vulnerability related to improper handling of query parameters that can lead to JavaScript injection.
Yes, USN-7158-1 can potentially lead to denial of service as well as execution of arbitrary code.