USN-7158-1: Smarty vulnerabilities
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
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What is the severity of USN-7158-1?
The severity of USN-7158-1 is high due to the potential for arbitrary code execution.
How do I fix USN-7158-1?
To fix USN-7158-1, upgrade to the recommended secure version of the smarty3 package for your Ubuntu version.
Which Ubuntu versions are affected by USN-7158-1?
USN-7158-1 affects Ubuntu 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS, and 24.10.
What type of vulnerability is described in USN-7158-1?
USN-7158-1 describes a vulnerability related to improper handling of query parameters that can lead to JavaScript injection.
Can USN-7158-1 result in denial of service?
Yes, USN-7158-1 can potentially lead to denial of service as well as execution of arbitrary code.