CVEfocus › CVE database › CVE-2019-12761

CVE-2019-12761

CVSS 7.5 HighEPSS 2.1% (higher than 82% of CVEs)Published 2019-06-06Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
1Fix pending
2Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04pyxdgNot affected
vulnerable_code_not_present
Ubuntu 18.04pyxdgFixed0.25-4ubuntu1.1UBUNTU-CVE-2019-12761
Ubuntu 16.04pyxdgFixed0.25-4ubuntu0.16.04.1UBUNTU-CVE-2019-12761
Ubuntu 14.04pyxdgFix pending0.25-4ubuntu0.14.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2019-12761
Debian 14pyxdgFixed0.26-1DEBIAN-CVE-2019-12761
Debian 13pyxdgFixed0.26-1DEBIAN-CVE-2019-12761
Debian 12pyxdgFixed0.26-1DEBIAN-CVE-2019-12761
Red Hat Enterprise Linux 8python3-pyxdgWill not fix
Will not fix
Red Hat Enterprise Linux 6pyxdgWill not fix
Out of support scope
PyPI librarypyxdgFixed0.26GHSA-r6v3-hpxj-r8rv

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.