Vulnerability in Python Pyxdg
CVE-2014-1624
Race condition in the xdg.BaseDirectory.get_runtime_dir function in python-xdg 0.25 allows local users to overwrite arbitrary files by pre-creating /tmp/pyxdg-runtime-dir-fallback-victim to point to a victim-owned location, then replacing it with a symlink to an attacker-controlled location once the get_runtime_dir function is called.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 3.3 (Low). Vector: AV:L/AC:M/Au:N/C:N/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.003, 24.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pyxdg — versions 0.25
Weakness classification (CWE)
References
- [oss-security] 20140121 Re: Fwd: [Python-modules-team] Bug#736247: python-xdg: get_runtime_dir(strict=False): insecure use of /tmp (mailing-list)
- bugs.debian.org/cgi-bin/bugreport.cgi
- pythonxdg-cve20141624-symlink(90618) (vdb-entry)
- www.securityfocus.com/bid/65042 (vdb-entry)
- [oss-security] 20140121 Fwd: [Python-modules-team] Bug#736247: python-xdg: get_runtime_dir(strict=False): insecure use of /tmp (mailing-list)