CVE-2014-1624: Race Condition
Race condition in the xdg.BaseDirectory.getruntimedir 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 getruntimedir function is called.
Other sources
Race condition in the xdg.BaseDirectory.getruntimedir 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 getruntimedir function is called.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/pyxdgto a version that resolves this vulnerability.Fixed in 0.26
Event History
Frequently Asked Questions
What is the severity of CVE-2014-1624?
CVE-2014-1624 is classified as a high severity vulnerability due to its potential for local users to overwrite arbitrary files.
How do I fix CVE-2014-1624?
To fix CVE-2014-1624, upgrade pyxdg to version 0.26 or later.
Who is affected by CVE-2014-1624?
CVE-2014-1624 affects users running pyxdg version 0.25 or earlier.
What type of vulnerability is CVE-2014-1624?
CVE-2014-1624 is a race condition vulnerability.
Can CVE-2014-1624 be exploited remotely?
No, CVE-2014-1624 requires local user access for exploitation.