GitHub Advisoryadvisory · PyPI

GHSA-5cpq-9538-jm2j Gradio DOS in multipart boundry while uploading the file

HIGH Published 2025-03-20 Modified 2025-10-15 Official page ↗
Aliases
CVE-2024-8966
Ecosystem
PyPI
Packages
gradio
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-770
Reviewed
2025-03-21

Affected packages

• PyPI gradio: <= 5.22.0 (no fix yet)

Description

A vulnerability in the file upload process of gradio-app/gradio version @gradio/[email protected] allows for a Denial of Service (DoS) attack. An attacker can append a large number of characters to the end of a multipart boundary, causing the system to continuously process each character and issue warnings. This can render Gradio inaccessible for extended periods, disrupting services and causing significant downtime.

Related

Alias · CVE (1)

  • CVE-2024-8966 A vulnerability in the file upload process of gradio-app/gradio version @gradio/[email protected] allows for a Denial of Service (DoS) attack. vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References