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.
References
Link | Resource |
---|---|
https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba | Exploit 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-174562 | Third Party Advisory |
https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba | Exploit 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-174562 | Third Party Advisory |
Configurations
History
21 Nov 2024, 04:23
Type | Values Removed | Values Added |
---|---|---|
References | () https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba - Exploit, Third Party Advisory | |
References | () https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html - | |
References | () https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html - | |
References | () https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562 - Third Party Advisory |
Information
Published : 2019-06-06 19:29
Updated : 2024-11-21 04:23
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')