Advisory

PYSEC-2023-16

Also known as: CVE-2023-25823, GHSA-3x5j-9vwr-8rr5

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-02-23 22:15 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 3.13.1 (ecosystem)

Fixed versions

3.13.1

Fix

  • Fixed version 3.13.1
    pip install --upgrade gradio==3.13.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences