CVE-2019-12761

pyxdg: code injection via crafted python code

Published Jun 6, 2019 CVSS 3.0 · 7.5 High EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1819-1 pyxdg security update
Debian DLA Debian DLA DLA-2727-1 pyxdg security update
EUVD EUVD EUVD-2019-0119 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.
Github GHSA Github GHSA GHSA-r6v3-hpxj-r8rv Code Injection in PyXDG
Ubuntu USN Ubuntu USN USN-4700-1 PyXDG vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:32 PM
Reserved
Jun 6, 2019, 12:00 AM
Status
Modified
Published
Jun 6, 2019, 7:29 PM
Modified
Jun 17, 2026, 2:15 AM
Severity
Moderate
Public date
Jun 1, 2019, 12:00 AM