CVE-2019-12761
Last modified
CVE-2019-12761 is a vulnerability of currently unknown severity. 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. EPSS estimates a 2.10% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pyxdg | < 0.26 |
References
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916febaExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562Third Party Advisory
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916febaExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-12761?
How severe is CVE-2019-12761?
How do I fix CVE-2019-12761?
Are you affected by CVE-2019-12761?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
