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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.10%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 2.10% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- python/pyxdg
- Source
- cve@mitre.org
References
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916febaExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html
- https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html
- https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562Third Party Advisory
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916febaExploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html
- https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html
- https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.