QID 994913

Date Published: 2023-08-21

QID 994913: Python (Pip) Security Update for pyxdg (GHSA-7372-q459-jxhr)

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.

Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 8.6 severity.
  • CVSS V2 rated as Medium - 3.3 severity.
  • Solution
    Refer to Github security advisory GHSA-7372-q459-jxhr for updates and patch information.
    Vendor References

    CVEs related to QID 994913

    Software Advisories
    Advisory ID Software Component Link