Back

LOW

pyxdg: TOCTOU race condition in get_runtime_dir() when strict=False

Published Jan 28, 2014

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (2)

References (13)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jan 28, 2014
Updated Aug 6, 2024
Reserved Jan 21, 2014
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Jan 21, 2014
GHSA-7372-Q459-JXHR