CVE-2024-1727
Description
A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
How to fix
- gradio_project gradio4.19.2 or later
- gradio4.19.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gradio_project gradio | 4.16.0 ≤ v < 4.19.2 | 4.19.2 |
| gradioPyPI | v < 4.19.2 | 4.19.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.