{"id":"GHSA-7372-q459-jxhr","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.","aliases":["CVE-2014-1624","PYSEC-2014-95"],"modified":"2024-12-06T05:42:41.254164Z","published":"2022-05-17T01:27:07Z","database_specific":{"nvd_published_at":"2014-01-28T00:55:00Z","cwe_ids":["CWE-59"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2023-08-16T22:48:18Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1624"},{"type":"WEB","url":"https://github.com/takluyver/pyxdg/commit/bd999c1c3fe7ee5f30ede2cf704cf03e400347b4"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/90618"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyxdg/PYSEC-2014-95.yaml"},{"type":"PACKAGE","url":"https://github.com/takluyver/pyxdg"},{"type":"WEB","url":"https://web.archive.org/web/20200227194825/http://www.securityfocus.com/bid/65042"},{"type":"WEB","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736247"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/01/21/3"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2014/01/21/4"}],"affected":[{"package":{"name":"pyxdg","ecosystem":"PyPI","purl":"pkg:pypi/pyxdg"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.26"}]}],"versions":["0.19","0.20","0.21","0.22","0.23","0.24","0.25"],"database_specific":{"last_known_affected_version_range":"\u003c= 0.25","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7372-q459-jxhr/GHSA-7372-q459-jxhr.json"}}],"schema_version":"1.9.0"}