CVE-2019-12761

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.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
HIGH
NONE
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 70%
Affected Products (NVD)
VendorProductVersion
pythonpyxdg
𝑥
< 0.26
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pyxdg
bookworm
0.28-2
fixed
bullseye
0.27-2
fixed
buster
no-dsa
sid
0.28-2
fixed
trixie
0.28-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pyxdg
bionic
Fixed 0.25-4ubuntu1.1
released
cosmic
ignored
disco
ignored
eoan
ignored
focal
not-affected
groovy
not-affected
trusty
Fixed 0.25-4ubuntu0.14.04.1~esm1
released
xenial
Fixed 0.25-4ubuntu0.16.04.1
released
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
python2-pyxdg
suse enterprise sap 15 SP1
0.25-150000.3.3.1
fixed
suse enterprise server 15 SP1
0.25-150000.3.3.1
fixed
python3-pyxdg
suse enterprise sap 15 SP1
0.25-150000.3.3.1
fixed
suse enterprise server 15 SP1
0.25-150000.3.3.1
fixed