Advisory

GHSA-6h3f-43vq-53hj

Also known as: CVE-2024-2083, PYSEC-2024-247

Summary

Directory traversal in zenml

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-04-16 00:30 UTC
Modified
2025-05-12 22:00 UTC

Affected packages and fixes

zenml

PyPI · All systems

Affected

  • introduced 0, fixed 0.55.5 (ecosystem)

Fixed versions

0.55.5

Fix

  • Fixed version 0.55.5
    pip install --upgrade zenml==0.55.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences