Path Traversal Affecting zenml package, versions [,0.55.5)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th 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-ZENML-6615845
  • published16 Apr 2024
  • disclosed16 Apr 2024
  • creditrook1337

Introduced: 16 Apr 2024

CVE-2024-2083  (opens in a new tab)
CWE-29  (opens in a new tab)

How to fix?

Upgrade zenml to version 0.55.5 or higher.

Overview

zenml is a ZenML: Write production-ready ML code.

Affected versions of this package are vulnerable to Path Traversal due to insufficient validation of user-supplied input in the /api/v1/steps endpoint. An attacker can access files outside of the restricted directory by manipulating the 'logs' URI path in the request to fetch arbitrary file content, effectively bypassing intended access restrictions.

References

CVSS Scores

version 3.1