Lucene search

K
osvGoogleOSV:GHSA-7372-Q459-JXHR
HistoryMay 17, 2022 - 1:27 a.m.

pyxdg Arbitrary File Overwrite via Race Condition

2022-05-1701:27:07
Google
osv.dev
8
pyxdg
arbitrary file overwrite
race condition
get_runtime_dir
software
local users
symlink

EPSS

0

Percentile

5.1%

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.

EPSS

0

Percentile

5.1%