GHSA-r6v3-hpxj-r8rv

    Dashboard / Vulnerabilities / GHSA-r6v3-hpxj-r8rv

    GHSA-r6v3-hpxj-r8rv

    Published: 7 Jun 2019Last Modified: 15 Oct 2024

    Summary: Code Injection in PyXDG

    Details: A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDG_CONFIG_DIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.

    Affected packages

    Package

    Name: pyxdg

    Purl: pkg:pypi/pyxdg

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.26

    Affected versions

    0.19

    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