RCE in Python Pyxdg

CVE-2019-12761

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.021 (79.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-12761?
CVE-2019-12761 is a high-severity vulnerability in Python Pyxdg, classified under Code Injection. CVSS score: 7.5/10. Published 2019-06-06.
How severe is CVE-2019-12761?
High severity. CVSS v3 base score is 7.5 out of 10.