Path Traversal Affecting zenml package, versions [,0.55.5)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    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 ID SNYK-PYTHON-ZENML-6615845
  • published 16 Apr 2024
  • disclosed 16 Apr 2024
  • credit rook1337

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
Expand this section

Snyk

Recommended
9.9 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High