CVE-2014-1624 pyxdg Arbitrary File Overwrite via Race Condition

Low 3.3 Published Updated

Local attackers can overwrite arbitrary files via a race condition in the runtime directory handling of the python-xdg library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2014-1624?

CVE-2014-1624 is a low-severity vulnerability in n/a, published on 28 Jan 2014. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-59

Which versions are affected by CVE-2014-1624?

3 open source packages ship an affected version, including pyxdg. It affects 1 product.

PackageAffectedFixed in
pyxdg PyPIAll versions0.26
pyxdg PyPIAll versions0.26
pyxdg PyPIFrom 0.250.26
Linux distribution packages (5)
python-xdg SUSE:Linux Enterprise Desktop 12 SP4All versions0.25-9.3.1
python-xdg SUSE:Linux Enterprise Server 12 SP4All versions0.25-9.3.1
python-xdg SUSE:Linux Enterprise Server 12 SP5All versions0.25-9.3.1
python-xdg SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions0.25-9.3.1
python-xdg SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.25-9.3.1

Products include Python Pyxdg.

How do I fix CVE-2014-1624?

Upgrade pyxdg to 0.26 or later.

Is CVE-2014-1624 being exploited?

There is no known exploitation of CVE-2014-1624 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2014-1624, GHSA-7372-q459-jxhr, PYSEC-2014-95, SUSE-SU-2019:2719-1, SUSE-SU-2019:2719-2, UBUNTU-CVE-2014-1624.

Is CVE-2014-1624 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free