CVE-2024-9340: ZenML unauthenticated DoS via Multipart Boundry
A Denial of Service (DoS) vulnerability in zenml-io/zenml version 0.66.0 allows unauthenticated attackers to cause excessive resource consumption by sending malformed multipart requests with arbitrary characters appended to the end of multipart boundaries. This flaw in the multipart request boundary processing mechanism leads to an infinite loop, resulting in a complete denial of service for all users.
Published Mar 20, 2025 · Updated Jun 30, 2025
Affected packages
zenml
- Ecosystem
- PyPI
- Affected
- < 0.68.0
- Fixed in
- 0.68.0
- Check
pip show zenml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A Denial of Service (DoS) vulnerability in zenml-io/zenml version 0.66.0 allows unauthenticated attackers to cause excessive resource consumption by sending malformed multipart requests with arbitrary characters appended to the end of multipart boundaries. This flaw in the multipart request boundary processing mechanism leads to an infinite loop, resulting in a complete denial of service for all users. Affected endpoints include /api/v1/login and /api/v1/device_authorization.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9340
- https://github.com/zenml-io/zenml/commit/cba152eb9ca3071c8372b0b91c02d9d3351de48d
- https://huntr.com/bounties/c9200654-7dc0-4c1d-8573-ab79a87fb4f6
- https://github.com/pypa/advisory-database/tree/main/vulns/zenml/PYSEC-2025-57.yaml
- https://github.com/advisories/GHSA-6gmf-2369-c76c
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-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-4460
Improper line feed handling in zenml
medium4.3Jun 24, 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
