GHSA-7gfx-wxfh-7rvm

    Dashboard / Vulnerabilities / GHSA-7gfx-wxfh-7rvm

    GHSA-7gfx-wxfh-7rvm

    Published: 13 May 2022Last Modified: 16 Feb 2024

    Summary: Smarty Path Traversal Vulnerability

    Details: `Smarty_Security::isTrustedResourceDir()` in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files.

    Affected packages

    Package

    Name: smarty/smarty

    Purl: pkg:composer/smarty/smarty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.1.33

    Affected versions

    v2.6.24
    v2.6.25
    v2.6.26
    v2.6.27
    v2.6.28
    v2.6.29
    v2.6.30
    v2.6.31
    v2.6.33

    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
    GHSA-7gfx-wxfh-7rvm | CVE-DB