CVE-2024-47868
Last modified
CVE-2024-47868 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Gradio is an open-source Python package designed for quick prototyping. This is a **data validation vulnerability** affecting several Gradio components, which allows arbitrary file leaks through the post-processing step. EPSS estimates a 0.80% chance of exploitation in the next 30 days.
Description
Gradio is an open-source Python package designed for quick prototyping. This is a **data validation vulnerability** affecting several Gradio components, which allows arbitrary file leaks through the post-processing step. Attackers can exploit these components by crafting requests that bypass expected input constraints. This issue could lead to sensitive files being exposed to unauthorized users, especially when combined with other vulnerabilities, such as issue TOB-GRADIO-15. The components most at risk are those that return or handle file data. Vulnerable Components: 1. **String to FileData:** DownloadButton, Audio, ImageEditor, Video, Model3D, File, UploadButton. 2. **Complex data to FileData:** Chatbot, MultimodalTextbox. 3. **Direct file read in preprocess:** Code. 4. **Dictionary converted to FileData:** ParamViewer, Dataset. Exploit Scenarios: 1. A developer creates a Dropdown list that passes values to a DownloadButton. An attacker bypasses the allowed inputs, sends an arbitrary file path (like `/etc/passwd`), and downloads sensitive files. 2. An attacker crafts a malicious payload in a ParamViewer component, leaking sensitive files from a server through the arbitrary file leak. This issue has been resolved in `gradio>5.0`. Upgrading to the latest version will mitigate this vulnerability. There are no known workarounds for this vulnerability.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gradio Project | Gradio | < 5.0.0 |
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-4q3c-cj7g-jcwfExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-47868?
How severe is CVE-2024-47868?
How do I fix CVE-2024-47868?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-4786An improper validation vulnerability was reported in the Len…2.8
- CVE-2024-47863An issue was discovered in Centreon Web 24.10.x before 24.10…6.2
- CVE-2024-47864home 5G HR02, Wi-Fi STATION SH-52B, and Wi-Fi STATION SH-54C…5.3
- CVE-2024-47865Missing authentication for critical function vulnerability e…5.3
- CVE-2024-47866Ceph is a distributed object, block, and file storage platfo…7.5
- CVE-2024-47867Gradio is an open-source Python package designed for quick p…7.5
- CVE-2024-47869Gradio is an open-source Python package designed for quick p…3.7
- CVE-2024-4787The Cost Calculator Builder PRO for WordPress is vulnerable …5.8
- CVE-2024-47870Gradio is an open-source Python package designed for quick p…8.1
- CVE-2024-47871Gradio is an open-source Python package designed for quick p…9.1
- CVE-2024-47872Gradio is an open-source Python package designed for quick p…5.4
- CVE-2024-47873PhpSpreadsheet is a PHP library for reading and writing spre…7.5
Are you affected by CVE-2024-47868?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
