CVE-2014-1624
publishedpyxdg: TOCTOU race condition in get_runtime_dir() when strict=False
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | SLE-12-SP4 | python-xdgnoarch | Advisory build | 0.25-9.3.1 | SUSE-SU-2019:2719-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xdgnoarch | Advisory build | 0.25-9.3.1 | SUSE-SU-2019:2719-2 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736247
- [oss-security] 20140121 Fwd: [Python-modules-team] Bug#736247: python-xdg: get_runtime_dir(strict=False): insecure use of /tmp http://www.openwall.com/lists/oss-security/2014/01/21/3
- [oss-security] 20140121 Re: Fwd: [Python-modules-team] Bug#736247: python-xdg: get_runtime_dir(strict=False): insecure use of /tmp http://www.openwall.com/lists/oss-security/2014/01/21/4
- 65042 http://www.securityfocus.com/bid/65042
- pythonxdg-cve20141624-symlink(90618) https://exchange.xforce.ibmcloud.com/vulnerabilities/90618
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d116db473aa7b16706dd11e605c8486e98d373e837ab13cd78bd0085b2b8e486
- Ingested
- 23 Sep 2026, 07:39:55 UTC
- Source record
- Official CVE record