PYSEC-2019-199

    Dashboard / Vulnerabilities / PYSEC-2019-199

    PYSEC-2019-199

    Published: 6 Jun 2019Last Modified: 8 Nov 2023

    Summary:

    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