Browse / AI Framework and Platform Flaws / CVE-2024-10569
Gradio Vulnerable to Denial of Service (DoS) via Crafted Zip Bomb
- 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.7% chance of exploitation in 30 days
How it works, in short
An uploaded compressed archive expands to a huge size when the dataframe component parses it with pandas, exhausting resources and crashing the server. (Our summary, written by a model. The source text is below.)
Details
A vulnerability in the dataframe component of gradio-app/gradio (version git 98cbcae) allows for a zip bomb attack. The component uses pd.read_csv to process input values, which can accept compressed files. An attacker can exploit this by uploading a maliciously crafted zip bomb, leading to a server crash and causing a denial of service.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10569
- https://github.com/gradio-app/gradio
- https://github.com/gradio-app/gradio/blob/98cbcaef827de7267462ccba180c7b2ffb1e825d/gradio/components/dataframe.py#L263
- https://huntr.com/bounties/7192bcbb-08a3-4d22-a321-9c6d19dbfc74
Source: GitHub Advisory Database, used under CC BY 4.0.