INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-2083

Directory traversal in zenml

CVE-2024-2083 ยท 2024-04-16 critical

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Path traversal and file access
Affected
zenml (PyPI)
Gets past
Path restriction
CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
37.2% chance of exploitation in 30 days

How it works, in short

The steps endpoint's logs URI accepts traversal sequences, letting callers read files outside the intended directory. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.