Path Traversal Affecting python-semantic-release package, versions [,9.8.8)


Severity

Recommended
0.0
high
0
10

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

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 Learn

Learn about Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTHONSEMANTICRELEASE-8161345
  • published3 Oct 2024
  • disclosed1 Oct 2024
  • creditUnknown

Introduced: 1 Oct 2024

CVE NOT AVAILABLE CWE-22  (opens in a new tab)

How to fix?

Upgrade python-semantic-release to version 9.8.8 or higher.

Overview

python-semantic-release is an Automatic Semantic Versioning for Python projects

Affected versions of this package are vulnerable to Path Traversal in the RuntimeContext class of semantic_release/cli/config.py file, stems from using Path.resolve() without Path.absolute(), which may return relative paths on Windows for non-existent directories. This could allow attackers to access or modify files outside the intended repository directory.

Note: This only affects Windows users.

References

CVSS Scores

version 4.0
version 3.1