CVE-2024-1727

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductGradio
PublishedMar 21, 2024
First seenMar 21, 2024

How to fix

Update
  • gradio_project gradio4.19.2 or later
  • gradio4.19.2 or later

Affected products

ProductAffected versionsFixed in
gradio_project gradio4.16.0 ≤ v < 4.19.24.19.2
gradioPyPIv < 4.19.24.19.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.