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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:pyxdg:*:*:*:*:*:*:*:*

History

03 Aug 2021, 15:15

Type Values Removed Values Added
CWE CWE-91 CWE-94

Information

Published : 2019-06-06 19:29

Updated : 2024-02-04 20:20


NVD link : CVE-2019-12761

Mitre link : CVE-2019-12761

CVE.ORG link : CVE-2019-12761


JSON object : View

Products Affected

python

  • pyxdg
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')