Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyxdg
  4. ›
  5. CVE-2014-1624

CVE-2014-1624: pyxdg Arbitrary File Overwrite via Race Condition

May 17, 2022 (updated October 16, 2024)

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. Learn more about Dependency Scanning →

Affected versions

All versions before 0.26

Fixed versions

  • 0.26

Solution

Upgrade to version 0.26 or above.

Impact 3.3 LOW

AV:L/AC:M/Au:N/C:N/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

pypi/pyxdg/CVE-2014-1624.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.