CVE-2019-12761

NameCVE-2019-12761
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1819-1, DLA-2727-1
Debian Bugs930099

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pyxdg (PTS)bullseye0.27-2fixed
sid, trixie, bookworm0.28-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pyxdgsourcejessie0.25-4+deb8u1DLA-1819-1
pyxdgsourcestretch0.25-4+deb9u1DLA-2727-1
pyxdgsource(unstable)0.26-1low930099

Notes

[buster] - pyxdg <no-dsa> (Minor issue)
https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562
https://gitlab.freedesktop.org/xdg/pyxdg/-/commit/aa4ce1bbc59def6975c9dd1598aafb3ef3fea681 (rel-0.26)
https://gitlab.freedesktop.org/xdg/pyxdg/issues/14

Search for package or bug name: Reporting problems