Skip to content
Fencer Intel
low 3.3

CVE-2014-1624 json

pyxdg Arbitrary File Overwrite via Race Condition

published 12y ago modified 4mo ago also GHSA-7372-q459-jxhr , PYSEC-2014-95 , EUVD-2014-0096

cvss
3.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 24%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi pyxdg 0.26
  • pyxdg Debian 14, Debian 13, Debian 12 0.25-4

debian advisories DEBIAN-CVE-2014-1624

  • pyxdg Ubuntu 16.04 LTS, Ubuntu 14.04 LTS 0.25-4

ubuntu advisories UBUNTU-CVE-2014-1624

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-xdg SLES 12 SP5, SLES 12 SP4, SLED 12 SP4 +2 more 0.25-9.3.1

suse advisories SUSE-SU-2019:2719-2SUSE-SU-2019:2719-1

Is CVE-2014-1624 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-1624 updated cvss 3.3

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

  • Red Hat Enterprise Linux 6 pyxdg Red Hat Enterprise Linux 7 python3-pyxdg
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 3.3 AV:L/AC:M/Au:N/C:N/I:P/A:P

Affected packages

ecosystem package affected fixed in
pypi pyxdg
<0.26
>=0.25, <0.26
0.26

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.