USN-7158-1

    Dashboard / Vulnerabilities / USN-7158-1

    USN-7158-1

    Published: 12 Dec 2024Last Modified: 27 Apr 2026

    Summary: smarty3 vulnerabilities

    Details: 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 packages

    Package

    Name: smarty3

    Purl: pkg:deb/ubuntu/[email protected]+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1?arch=source&distro=esm-apps/bionic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1

    Affected versions

    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

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    USN-7158-1 | CVE-DB