GHSA-9m49-vhwv-422g

    Dashboard / Vulnerabilities / GHSA-9m49-vhwv-422g

    GHSA-9m49-vhwv-422g

    Published: 14 May 2022Last Modified: 24 Apr 2024

    Summary: Smarty PHP code injection

    Details: Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.

    Affected packages

    Package

    Name: smarty/smarty

    Purl: pkg:composer/smarty/smarty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3
    Fixed -3.1.32

    Affected versions

    v3.1.11
    v3.1.12
    v3.1.13
    v3.1.14
    v3.1.15
    v3.1.16
    v3.1.17
    v3.1.18
    v3.1.19
    v3.1.20
    v3.1.21
    v3.1.23
    v3.1.24
    v3.1.25
    v3.1.26
    v3.1.27
    v3.1.28
    v3.1.29
    v3.1.30
    v3.1.31

    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