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.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.6%top 53.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIgradio3.13.1GHSA-3x5j-9vwr-8rr5
PyPIgradio3.13.1PYSEC-2023-16

Affected products (as reported)

VendorProductVersions
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