GHSA-8r7q-cvjq-x353

    Dashboard / Vulnerabilities / GHSA-8r7q-cvjq-x353

    GHSA-8r7q-cvjq-x353

    Published: 14 May 2022Last Modified: 24 Sept 2024

    Summary: Incorrect Privilege Assignment in Jinja2

    Details: The default configuration for `bccache.FileSystemBytecodeCache` in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with `__jinja2_` in `/tmp`.

    Affected packages

    Package

    Name: jinja2

    Purl: pkg:pypi/jinja2

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.7.2

    Affected versions

    2.0

    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-8r7q-cvjq-x353 | CVE-DB