CVE-2014-1624

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

Published Jan 28, 2014 CVSS 2.0 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2014-0096 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.
Github GHSA Github GHSA GHSA-7372-q459-jxhr pyxdg Arbitrary File Overwrite via Race Condition
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 9:50 AM
Reserved
Jan 21, 2014, 12:00 AM
Status
Modified
Published
Jan 28, 2014, 12:55 AM
Modified
Jun 17, 2026, 12:05 AM
Severity
Moderate
Public date
Jan 21, 2014, 12:00 AM