Link following in pyxdg - CVE-2014-1624

 

Link following in pyxdg - CVE-2014-1624

Published: January 28, 2014 / Updated: August 10, 2020


Vulnerability identifier: #VU42101
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-1624
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate or delete data.

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 software

pyxdg
Fedora
pyxdg

How to mitigate CVE-2014-1624

Install update from vendor's website.

pyxdg - addressed in versions 0.25-5.el7, 0.25-5.fc21

External References

Related Security Bulletins