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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T09:50:09.591Z

Reserved: 2014-01-21T00:00:00

Link: CVE-2014-1624

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2014-01-28T00:55:04.083

Modified: 2025-04-11T00:51:21.963

Link: CVE-2014-1624

cve-icon Redhat

Severity : Moderate

Publid Date: 2014-01-21T00:00:00Z

Links: CVE-2014-1624 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses