CVE-2024-47870
Last modified
CVE-2024-47870 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **race condition** in the `update_root_in_config` function, allowing an attacker to modify the `root` URL used by the Gradio frontend to communicate with the backend. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **race condition** in the `update_root_in_config` function, allowing an attacker to modify the `root` URL used by the Gradio frontend to communicate with the backend. By exploiting this flaw, an attacker can redirect user traffic to a malicious server. This could lead to the interception of sensitive data such as authentication credentials or uploaded files. This impacts all users who connect to a Gradio server, especially those exposed to the internet, where malicious actors could exploit this race condition. Users are advised to upgrade to `gradio>=5` to address this issue. There are no known workarounds for this issue.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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-xh2x-3mrm-fwqmThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-47870?
How severe is CVE-2024-47870?
How do I fix CVE-2024-47870?
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-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-47868Gradio 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-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
- CVE-2024-47874Starlette is an Asynchronous Server Gateway Interface (ASGI)…8.7
- CVE-2024-47875DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanit…6.1
- CVE-2024-47876Sakai is a Collaboration and Learning Environment. Starting …8.8
Are you affected by CVE-2024-47870?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
