7.5

CVE-2019-12761: python pyxdg Improper Control of Generation of Code

Modified
AliasesSUSE-SU-2022:2997-1GHSA-r6v3-hpxj-r8rvPYSEC-2019-199
Published 06-06-2019Last modified 04-08-2024

Vulnerability summary

CVE-2019-12761 is a high (CVSS 7.5) Improper Control of Generation of Code vulnerability in python pyxdg. EPSS estimates a 2.10% chance of exploitation in the next 30 days, higher than 82.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
2.10%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 06-06-2019
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

2.10%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.10% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    B45Cd41F4186110A354Dc7272916Feba

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Suse10 products
  • python-pyxdg&distro=SUSE Enterprise Storage 6< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 0.25-150000.3.3.1
  • python-pyxdg&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS< 0.25-150000.3.3.1
Debian1 product
  • pyxdg< 0.26-1 | < 0.25-4+deb8u1 | < 0.25-4+deb9u1
PyPI1 product
  • pyxdg< 0.26
Python1 product
Ubuntu1 product
  • pyxdg< 0.25-4ubuntu0.14.04.1~esm1 | < 0.25-4ubuntu0.16.04.1 | < 0.25-4ubuntu1.1

5 vendors · 14 products

References

15 links
Show all 15 references