CVE-2024-9340
Python vulnerability analysis and mitigation

Overview

A Denial of Service (DoS) vulnerability has been identified in zenml-io/zenml version 0.66.0 (CVE-2024-9340). The vulnerability allows unauthenticated attackers to cause excessive resource consumption by sending malformed multipart requests with arbitrary characters appended to the end of multipart boundaries. This affects the /api/v1/login and /api/v1/device_authorization endpoints (NVD).

Technical details

The vulnerability stems from a flaw in the multipart request boundary processing mechanism that leads to an infinite loop when processing malformed requests. The issue has been assigned a CVSS v3.0 base score of 7.5 (HIGH) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) (NVD, GitHub Commit).

Impact

When exploited, this vulnerability results in a complete denial of service for all users of the affected system. The attack can be executed remotely by unauthenticated attackers, making it particularly severe as it can disrupt service availability without requiring any special access privileges (NVD).

Exploitability

The vulnerability is highly exploitable as it requires no authentication, has low attack complexity, and can be triggered by sending specially crafted multipart requests to the affected endpoints. No user interaction is required to exploit this vulnerability (NVD).

Mitigation and workarounds

A fix has been implemented in the zenml-io/zenml repository through a commit that adds request body size limits and file upload restrictions. The patch includes middleware to prevent excessive request sizes and restrict file uploads to specific paths (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66455CRITICAL9.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-63374CRITICAL9.3
  • Python logoPython
  • airflow-3
NoYesSep 18, 2026
CVE-2026-59163CRITICAL9.1
  • Python logoPython
  • mnemosyne-memory
NoYesSep 18, 2026
CVE-2026-33625HIGH8.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-64847MEDIUM6.8
  • Python logoPython
  • py3-anyio
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management