CVE-2014-1624: pyxdg Arbitrary File Overwrite via Race Condition
(updated )
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.
References
- exchange.xforce.ibmcloud.com/vulnerabilities/90618
- github.com/advisories/GHSA-7372-q459-jxhr
- github.com/pypa/advisory-database/tree/main/vulns/pyxdg/PYSEC-2014-95.yaml
- github.com/takluyver/pyxdg
- github.com/takluyver/pyxdg/commit/bd999c1c3fe7ee5f30ede2cf704cf03e400347b4
- nvd.nist.gov/vuln/detail/CVE-2014-1624
- web.archive.org/web/20200227194825/http://www.securityfocus.com/bid/65042
Code Behaviors & Features
Detect and mitigate CVE-2014-1624 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →