CVE-2014-1624
pyxdg: TOCTOU race condition in get_runtime_dir() when strict=False
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · January 21, 2014
Updated · November 21, 2025
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 3.3AV:L/AC:M/Au:N/C:P/I:P/A:N
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition