RULE(RULE ID:338776)

Rule General Information
Release Date: 2025-04-02
Rule Name: Gradio proxy SSRF Vulnerability (CVE-2023-34239)
Severity:
CVE ID:
Rule Protection Details
Description: Gradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not properly restrict file access to users. Additionally Gradio does not properly restrict the what URLs are proxied. These issues have been addressed in version 3.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Impact: SSRF is a security vulnerability constructed by an attacker to form a request initiated by a server. By exploiting this vulnerability, an attacker can bypass access restrictions such as firewalls, thereby using an infected or vulnerable server as a proxy for port scanning and even accessing internal system data.
Affected OS: Windows, Linux, Others
Reference: https://github.com/gradio-app/gradio/security/advisories/GHSA-3qqg-pgqq-3695
https://github.com/gradio-app/gradio/pull/4406
https://github.com/gradio-app/gradio/pull/4370
Solutions
Please refer to announcements or patches release by the vendor: https://github.com/gradio-app/gradio/security/advisories/GHSA-3qqg-pgqq-3695