Advisory

PYSEC-2014-95

Also known as: CVE-2014-1624, GHSA-7372-q459-jxhr

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2014-01-28 00:55 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

pyxdg

PyPI · All systems

Affected

  • introduced 0.25, fixed 0.26 (ecosystem)

Fixed versions

0.26

Fix

  • Fixed version 0.26
    pip install --upgrade pyxdg==0.26

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences