PYSEC-2019-199

En bref

Publiée
Mise à jour
CVE
CVE-2019-12761
Alias
GHSA-r6v3-hpxj-r8rv, SNYK-PYTHON-PYXDG-174562

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

PaquetVersions
PyPI · pyxdgintroduced 0, fixed 0.26

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database