Arbitrary File Overwrite Affecting pyxdg package, versions [0.25]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-PYXDG-40263
  • published21 Jan 2014
  • disclosed21 Jan 2014
  • creditUnknown

Introduced: 21 Jan 2014

CVE-2014-1624  (opens in a new tab)
CWE-59  (opens in a new tab)

Overview

pyxdg is a PyXDG contains implementations of freedesktop.org standards in python. Race condition in the xdg.BaseDirectory.get_runtime_dir function in python-xdg 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.

CVSS Scores

version 3.1