takluyver/pyxdg · Security

pyxdg Arbitrary File Overwrite via Race Condition

GHSA ID
GHSA-7372-q459-jxhr
CVE ID
CVE-2014-1624
Severity
low
Published
Updated

Description

Race condition in the xdg.BaseDirectory.get_runtime_dir function in pyxdg 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.

CWEs

References