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.
bugs.debian.org/cgi-bin/bugreport.cgi?bug=736247
www.openwall.com/lists/oss-security/2014/01/21/3
www.openwall.com/lists/oss-security/2014/01/21/4
exchange.xforce.ibmcloud.com/vulnerabilities/90618
github.com/takluyver/pyxdg
github.com/takluyver/pyxdg/commit/bd999c1c3fe7ee5f30ede2cf704cf03e400347b4
nvd.nist.gov/vuln/detail/CVE-2014-1624
web.archive.org/web/20200227194825/www.securityfocus.com/bid/65042