CVE-2019-12761
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
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.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2019-12761
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2019-12761.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 0.26-1 |
| debian | bullseye | fixed | 0.26-1 |
| debian | forky | fixed | 0.26-1 |
| debian | sid | fixed | 0.26-1 |
| debian | trixie | fixed | 0.26-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | pyxdg | <0.26 | 0.26 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12761
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba
- https://github.com/pypa/advisory-database/tree/main/vulns/pyxdg/PYSEC-2019-199.yaml
- https://github.com/takluyver/pyxdg
- 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
- https://www.suse.com/security/cve/CVE-2019-12761.html
- https://github.com/advisories/GHSA-r6v3-hpxj-r8rv
- https://security-tracker.debian.org/tracker/CVE-2019-12761
Verify integrity in audit chain (admin only). AS-IS.