Vulnerability · Published Feb 23, 2023 · Assigned by GitHub_M
CVE-2023-25823Gradio contains Use of Hard-coded Credentials
Medium 5.4
In plain English
A medium-severity hard-coded credentials 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.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Gradio is an open-source Python library to build machine learning and data science demos and web applications. Versions prior to 3.13.1 contain Use of Hard-coded Credentials. When using Gradio's share links (i.e. creating a Gradio app and then setting `share=True`), a private SSH key is sent to any user that connects to the Gradio machine, which means that a user could access other users' shared Gradio demos. From there, other exploits are possible depending on the level of access/exposure the Gradio app provides. This issue is patched in version 3.13.1, however, users are recommended to update to 3.19.1 or later where the FRP solution has been properly tested.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | gradio | 3.13.1 | GHSA-3x5j-9vwr-8rr5 |
| PyPI | gradio | 3.13.1 | PYSEC-2023-16 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gradio-app | gradio | < 3.13.1 |
Weakness: CWE-798 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L
References
- https://github.com/gradio-app/gradio/security/advisories/GHSA-3x5j-9vwr-8rr5 x_refsource_CONFIRM