Vulnerabilities · 2024 · Gradio Project
CVE-2024-47870
Gradio Project Gradio vulnerability
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 products
Gradio. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gradio Project Gradio runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gradio-app/gradio/security/advisories/GHSA-xh2x-3mrm-fwqm · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2024-47870
- github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-218.yaml
- github.com/advisories/GHSA-xh2x-3mrm-fwqm
- nvd.nist.gov/vuln/detail/CVE-2024-47870
- cve.org/CVERecord?id=CVE-2024-47870
More vulnerabilities in Gradio Project products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.