CVE-2024-4460: Improper line feed handling in zenml
A denial of service (DoS) vulnerability exists in zenml-io/zenml version 0.56.3 due to improper handling of line feed (\n) characters in component names. When a low-privileged user adds a component through the API endpoint api/v1/workspaces/default/components with a name containing a \n character, it leads to uncontrolled resource consumption.
Published Jun 24, 2024
Affected packages
zenml
- Ecosystem
- PyPI
- Affected
- < 0.57.1
- Fixed in
- 0.57.1
- Check
pip show zenml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A denial of service (DoS) vulnerability exists in zenml-io/zenml version 0.56.3 due to improper handling of line feed (\n) characters in component names. When a low-privileged user adds a component through the API endpoint api/v1/workspaces/default/components with a name containing a \n character, it leads to uncontrolled resource consumption. This vulnerability results in the inability of users to add new components in certain categories (e.g., 'Image Builder') and to register new stacks through the UI, thereby degrading the user experience and potentially rendering the ZenML Dashboard unusable. The issue does not affect component addition through the Web UI, as \n characters are properly escaped in that context. The vulnerability was tested on ZenML running in Docker, and it was observed in both Firefox and Chrome browsers.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2025-8406
ZenML is vulnerable to Path Traversal through its `PathMaterializer` class
medium6.3Oct 5, 2025CVE-2024-9340
ZenML unauthenticated DoS via Multipart Boundry
high7.5Mar 20, 2025CVE-2024-4311
Missing ratelimit on passwrod resets in zenml
medium5.4Nov 14, 2024CVE-2024-5062
Reflected Cross-Site Scripting (XSS) in zenml
medium6.1Jun 30, 2024CVE-2024-4680
zenml-io/zenml does not expire the session after password reset
low3.9No fixJun 8, 2024CVE-2024-2032
Race condition in zenml
low3.1Jun 6, 2024
