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
Both problems have been solved, please upgrade gradio
to 3.34.0
or higher
Not possible to workaround except by taking down any shared Gradio apps
Relevant PRs: * https://github.com/gradio-app/gradio/pull/4406 * https://github.com/gradio-app/gradio/pull/4370
{ "nvd_published_at": "2023-06-08T00:15:09Z", "cwe_ids": [ "CWE-20" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-06-09T22:51:19Z" }