Vulnerability · Published Apr 16, 2024 · Assigned by @huntr_ai

CVE-2024-2083Directory Traversal in zenml-io/zenml

Critical 9.9

In plain English

A critical-severity security flaw in zenml-io/zenml from zenml-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 37.5% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.9Critical
Exploit odds (30 days)37.5%top 1.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

A directory traversal vulnerability exists in the zenml-io/zenml repository, specifically within the /api/v1/steps endpoint. Attackers can exploit this vulnerability by manipulating the 'logs' URI path in the request to fetch arbitrary file content, bypassing intended access restrictions. The vulnerability arises due to the lack of validation for directory traversal patterns, allowing attackers to access files outside of the restricted directory.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIzenml0.55.5GHSA-6h3f-43vq-53hj
PyPIzenml0.55.5PYSEC-2024-247

Affected products (as reported)

VendorProductVersions
zenml-io zenml-io/zenml unspecified – before 0.55.5

Weakness: CWE-29 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References