Intel

AIKIDO-2024-10529

python-semantic-release is vulnerable to Path Traversal

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 10, 2024
December 10, 2024

85

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to path traversal due to improper handling of paths in the RuntimeContext class within the semantic_release/cli/config.py file. The vulnerability arises from using Path.resolve() without Path.absolute(), which may return relative paths on Windows for non-existent directories. Exploiting this flaw could allow attackers to access or modify files outside the intended repository directory, potentially compromising the system's integrity or exposing sensitive data.

How do I fix this?

Upgrade the python-semantic-release library to the patch version.

Who does this affect?

You are affected if you are using a vulnerable version of the package and you are on Windows.

Versions

8.0.0 - 9.8.7

Fixed in 9.8.8

Background info

python-semantic-release is vulnerable to Path Traversal in versions 8.0.0 - 9.8.7.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea