GHSA-r6v3-hpxj-r8rv
Code Injection in PyXDG
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2019-12761
- Alias
- PYSEC-2019-199, SNYK-PYTHON-PYXDG-174562
- CVSS_V3
- CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · pyxdg | introduced 0, fixed 0.26 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2019-12761 ADVISORY
- https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pyxdg/PYSEC-2019-199.yaml WEB
- https://github.com/takluyver/pyxdg PACKAGE
- https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html WEB
- https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html WEB
- https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |