# CVE-2024-9340: ZenML unauthenticated DoS via Multipart Boundry

Source: https://junglewise.ai/threats/cve-2024-9340-zenml-unauthenticated-dos-via-multipart-boundry  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-20  
License: CC BY 4.0 with a link back

CVE-2024-9340 · Severity: low · CVSS 3 · Published 2025-03-20

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`.

Technologies: [zenml (PyPI)](https://junglewise.ai/threats/technologies/pypi-zenml). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-9340 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-9340 being exploited in the wild.

**How severe is CVE-2024-9340?** Low severity, with a CVSS score of 3, published 20 March 2025.

**Which products and versions are affected?** zenml (PyPI) ECOSYSTEM:introduced=0,fixed=0.68.0, GIT:introduced=0,fixed=cba152eb9ca3071c8372b0b91c02d9d3351de48d|ECOSYSTEM:introduced=0,fixed=0.68.0.

**Is there a fix for CVE-2024-9340?** Yes. zenml (PyPI): upgrade to 0.68.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-9340?** Check whether you run zenml (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- zenml (PyPI): upgrade to 0.68.0 or later

  ```sh
  pip install "zenml>=0.68.0"
  ```


## Affected products

- zenml (PyPI) ECOSYSTEM:introduced=0,fixed=0.68.0, GIT:introduced=0,fixed=cba152eb9ca3071c8372b0b91c02d9d3351de48d|ECOSYSTEM:introduced=0,fixed=0.68.0

## Identifiers

- CVE-2024-9340
- GHSA-6gmf-2369-c76c
- PYSEC-2025-57

## Related threats

- [PYSEC-2026-2071 - ZenML is vulnerable to Path Traversal through its `PathMaterializer` class](https://junglewise.ai/threats/cve-2025-8406-zenml-is-vulnerable-to-path-traversal-through-its-pathmaterializer)
- [PYSEC-2026-2070 - Missing ratelimit on passwrod resets in zenml](https://junglewise.ai/threats/cve-2024-4311-missing-ratelimit-on-passwrod-resets-in-zenml)
- [PYSEC-2026-2068 - Improper line feed handling in zenml](https://junglewise.ai/threats/cve-2024-4460-improper-line-feed-handling-in-zenml)
- [PYSEC-2026-2069 - zenml-io/zenml does not expire the session after password reset](https://junglewise.ai/threats/cve-2024-4680-zenml-io-zenml-does-not-expire-the-session-after-password-reset)
- [PYSEC-2026-2072 - ZenML Server Remote Privilege Escalation Vulnerability](https://junglewise.ai/threats/cve-2024-25723-zenml-server-remote-privilege-escalation-vulnerability)
