Vulnerability · Published Jun 7, 2023 · Assigned by GitHub_M
CVE-2023-34239Unfiltered paths in gradio
High 7.3
In plain English
A high-severity improper input validation in gradio from gradio-app. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Gradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not properly restrict file access to users. Additionally Gradio does not properly restrict the what URLs are proxied. These issues have been addressed in version 3.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | gradio | 3.34.0 | GHSA-3qqg-pgqq-3695 |
| PyPI | gradio | 3.34.0 | PYSEC-2023-90 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gradio-app | gradio | < 3.34.0 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-3qqg-pgqq-3695 x_refsource_CONFIRM
- https://github.com/gradio-app/gradio/pull/4370 x_refsource_MISC
- https://github.com/gradio-app/gradio/pull/4406 x_refsource_MISC