Skip to content
DoS Disclosed report Beginner CVE-2024-10569

Gradio Vulnerable to Denial of Service (DoS) via Crafted Zip Bomb

The dataframe component of Gradio processes uploaded files with pandas.read_csv, which can accept compressed archives. An attacker can upload a crafted zip bomb to crash the server and cause a denial of service.

gradio-app/gradio

Originally disclosed on huntr

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.

From the GitHub Advisory Database (GHSA-7xmc-vhjp-qv5q, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the dataframe component passes user-supplied files directly to pandas.read_csv without limiting decompressed size or rejecting compressed input.

Impact

An attacker could crash the server, causing a denial of service for other users.

What the attacker needed

Ability to upload a file to the dataframe component

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A zip bomb is a small compressed file that expands to a huge size when unpacked. Here, the Gradio dataframe component automatically unpacks uploaded files, so a tiny upload can consume all server memory and crash it. This stops the service for everyone.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from gradio-app/gradio

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.