Arbitrary Code Injection Affecting pyxdg package, versions *
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN10-PYXDG-349405
- published 6 Jun 2019
- disclosed 6 Jun 2019
Introduced: 6 Jun 2019
CVE-2019-12761 Open this link in a new tabHow to fix?
There is no fixed version for Debian:10
pyxdg
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream pyxdg
package and not the pyxdg
package as distributed by Debian
.
See How to fix?
for Debian:10
relevant fixed versions and status.
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
- https://security-tracker.debian.org/tracker/CVE-2019-12761
- https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba
- https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562
- https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-12761