Advisory

GHSA-7372-q459-jxhr

Also known as: CVE-2014-1624, PYSEC-2014-95

Summary

pyxdg Arbitrary File Overwrite via Race Condition

Details

Race condition in the xdg.BaseDirectory.get_runtime_dir 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 get_runtime_dir function is called.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-05-17 01:27 UTC
Modified
2024-12-06 05:42 UTC

Affected packages and fixes

pyxdg

PyPI · All systems

Affected

  • introduced 0, 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences