Vulnerability · Published Mar 21, 2024 · Assigned by @huntr_ai

CVE-2024-1727CSRF Vulnerability in gradio-app/gradio

Medium 4.3

In plain English

A medium-severity cross-site request forgery in gradio-app/gradio from gradio-app. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)4.3Medium
Exploit odds (30 days)0.4%top 71.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIgradio4.19.2GHSA-48cq-79qq-6f7x
PyPIgradio4.19.2PYSEC-2026-1409

Affected products (as reported)

VendorProductVersions
gradio-app gradio-app/gradio unspecified – before 4.19.2

Weakness: CWE-352 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

References