gsd-2019-12761
Vulnerability from gsd
Modified
2023-12-13 01:23
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2019-12761", "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.", "id": "GSD-2019-12761", "references": [ "https://www.suse.com/security/cve/CVE-2019-12761.html", "https://ubuntu.com/security/CVE-2019-12761" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "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.", "id": "GSD-2019-12761", "modified": "2023-12-13T01:23:43.415226Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2019-12761", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba", "refsource": "MISC", "url": "https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba" }, { "name": "https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562", "refsource": "MISC", "url": "https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562" }, { "name": "[debian-lts-announce] 20190616 [SECURITY] [DLA 1819-1] pyxdg security update", "refsource": "MLIST", "url": "https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html" }, { "name": "[debian-lts-announce] 20210803 [SECURITY] [DLA 2727-1] pyxdg security update", "refsource": "MLIST", "url": "https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c0.26", "affected_versions": "All versions before 0.26", "credit": "@dhondta", "cvss_v2": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-91", "CWE-937" ], "date": "2019-06-16", "description": "A code injection issue was discovered in PyXDG; 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.", "fixed_versions": [ "0.26" ], "identifier": "CVE-2019-12761", "identifiers": [ "CVE-2019-12761" ], "not_impacted": "All versions starting from 0.26", "package_slug": "pypi/pyxdg", "pubdate": "2019-06-06", "solution": "Upgrade to version 0.26 or above.", "title": "XML injection", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2019-12761", "https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba" ], "uuid": "d9bb7deb-1532-40ed-ae10-0be17ca38a23" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:python:pyxdg:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "0.26", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2019-12761" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-94" } ] } ] }, "references": { "reference_data": [ { "name": "https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562" }, { "name": "https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba", "refsource": "MISC", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba" }, { "name": "[debian-lts-announce] 20190616 [SECURITY] [DLA 1819-1] pyxdg security update", "refsource": "MLIST", "tags": [], "url": "https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html" }, { "name": "[debian-lts-announce] 20210803 [SECURITY] [DLA 2727-1] pyxdg security update", "refsource": "MLIST", "tags": [], "url": "https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "HIGH", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 5.1, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 4.9, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": true }, "baseMetricV3": { "cvssV3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.0" }, "exploitabilityScore": 1.6, "impactScore": 5.9 } }, "lastModifiedDate": "2021-08-03T15:15Z", "publishedDate": "2019-06-06T19:29Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…