Vulnerability Description
Gradio is an open source framework for building interactive machine learning models and demos. In versions prior to 2.5.0 there is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces. File paths are not restricted and users who receive a Gradio link can access any files on the host computer if they know the file names or file paths. This is limited only by the host operating system. Paths are opened in read only mode. The problem has been patched in gradio 2.5.0.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gradio Project | Gradio | < 2.5.0 |
Related Weaknesses (CWE)
References
- https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653PatchThird Party Advisory
- https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcrExploitThird Party Advisory
- https://github.com/gradio-app/gradio/commit/41bd3645bdb616e1248b2167ca83636a2653PatchThird Party Advisory
- https://github.com/gradio-app/gradio/security/advisories/GHSA-rhq2-3vr9-6mcrExploitThird Party Advisory
FAQ
What is CVE-2021-43831?
CVE-2021-43831 is a vulnerability with a CVSS score of 7.7 (HIGH). Gradio is an open source framework for building interactive machine learning models and demos. In versions prior to 2.5.0 there is a vulnerability that affects anyone who creates and publicly shares G...
How severe is CVE-2021-43831?
CVE-2021-43831 has been rated HIGH with a CVSS base score of 7.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-43831?
Check the references section above for vendor advisories and patch information. Affected products include: Gradio Project Gradio.