CVE-2024-47870
published 2024-10-10CVE-2024-47870: Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves a **race condition** in the `update_root_in_config`…
PriorityP349high8.1CVSS 3.1
AVNACHPRNUINSUCHIHAH
EPSS
0.36%
27.7th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gradio-app | gradio | < 5.0.0 | 5.0.0 |
| gradio_project | gradio | < 5.0.0 | 5.0.0 |
| gradio_project | gradio | >= 0 < 5.0.0 | 5.0.0 |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.07.1HIGHCVSS: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
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Gradio has a race condition in update_root_in_config may redirect user traffic
ghsa·2024-10-10
CVE-2024-47870 [HIGH] CWE-362 Gradio has a race condition in update_root_in_config may redirect user traffic
Gradio has a race condition in update_root_in_config may redirect user traffic
### Impact
**What kind of vulnerability is it? Who is impacted?**
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.
### Patches
Yes, please upgrade to `gradio>=5` to address this issue.
OSV
CVE-2024-47870: Gradio is an open-source Python package designed for quick prototyping
osv·2024-10-10
CVE-2024-47870 CVE-2024-47870: Gradio is an open-source Python package designed for quick prototyping
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.
OSV
Gradio has a race condition in update_root_in_config may redirect user traffic
osv·2024-10-10
CVE-2024-47870 [HIGH] Gradio has a race condition in update_root_in_config may redirect user traffic
Gradio has a race condition in update_root_in_config may redirect user traffic
### Impact
**What kind of vulnerability is it? Who is impacted?**
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.
### Patches
Yes, please upgrade to `gradio>=5` to address this issue.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-10-10
Published