Browse / AI Framework and Platform Flaws / CVE-2024-8966
Gradio DOS in multipart boundry while uploading the file
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- gradio (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.8% chance of exploitation in 30 days
How it works, in short
A crafted multipart upload with a long run of extra characters after the boundary forces the parser to iterate per character and emit warnings, stalling the server. (Our summary, written by a model. The source text is below.)
Details
A vulnerability in the file upload process of gradio-app/gradio version @gradio/video@0.10.2 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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8966
- https://github.com/gradio-app/gradio/commit/f1718c47137f9c60240da7afe5e3290aa0f1cb47
- https://github.com/gradio-app/gradio
- https://huntr.com/bounties/7b5932bb-58d1-4e71-b85c-43dc40522ff2
Source: GitHub Advisory Database, used under CC BY 4.0.