Vulnerability Details : 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.
Products affected by CVE-2019-12761
- cpe:2.3:a:python:pyxdg:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-12761
1.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-12761
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.1
|
MEDIUM | AV:N/AC:H/Au:N/C:P/I:P/A:P |
4.9
|
6.4
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.6
|
5.9
|
NIST |
CWE ids for CVE-2019-12761
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-12761
-
https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba
Proof-of-Concept for python-xdg 0.25 Python code injection ยท GitHubExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562
Arbitrary Command Execution in pyxdg | SnykThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html
[SECURITY] [DLA 1819-1] pyxdg security update
-
https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html
[SECURITY] [DLA 2727-1] pyxdg security update
Jump to