VDB
Sign up
CRITICAL9.9

PYSEC-2024-247

Quick fix

PYSEC-2024-247 — zenml: upgrade to the fixed version with the command below.

pip install --upgrade 'zenml>=0.55.5'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/zenml
Introduced in: 0Fixed in: 0.55.5
Fixpip install --upgrade 'zenml>=0.55.5'

References