GitHub Advisory Database
GHSA-5cpq-9538-jm2j
Gradio DOS in multipart boundry while uploading the file
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | gradio | All versions up to and including 5.22.0 |