Skip to content

Gradio vulnerable to arbitrary file read and proxying of arbitrary URLs

High severity GitHub Reviewed Published Jun 7, 2023 in gradio-app/gradio • Updated Nov 10, 2023

Package

pip gradio (pip)

Affected versions

<= 3.33.1

Patched versions

3.34.0

Description

Impact

There are two separate security vulnerabilities here: (1) a security vulnerability that allows users to read arbitrary files on the machines that are running shared Gradio apps (2) the ability of users to use machines that are sharing Gradio apps to proxy arbitrary URLs

Patches

Both problems have been solved, please upgrade gradio to 3.34.0 or higher

Workarounds

Not possible to workaround except by taking down any shared Gradio apps

References

Relevant PRs:

References

@abidlabs abidlabs published to gradio-app/gradio Jun 7, 2023
Published by the National Vulnerability Database Jun 8, 2023
Published to the GitHub Advisory Database Jun 9, 2023
Reviewed Jun 9, 2023
Last updated Nov 10, 2023

Severity

High
7.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Weaknesses

CVE ID

CVE-2023-34239

GHSA ID

GHSA-3qqg-pgqq-3695

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.