GHSA-7372-q459-jxhrLow

pyxdg Arbitrary File Overwrite via Race Condition

Published
May 17, 2022
Last Modified
October 16, 2024

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • pip/pyxdg:<= 0.25

🔗 References (9)