Ubuntu CVE Tracker
UBUNTU-CVE-2019-12761
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | pyxdg | All versions before 0.25-4ubuntu0.14.04.1~esm1 (fixed in 0.25-4ubuntu0.14.04.1~esm1) |
| Ubuntu:16.04:LTS | pyxdg | All versions before 0.25-4ubuntu0.16.04.1 (fixed in 0.25-4ubuntu0.16.04.1) |
| Ubuntu:18.04:LTS | pyxdg | All versions before 0.25-4ubuntu1.1 (fixed in 0.25-4ubuntu1.1) |