CVE-2024-4325

Severity CVSS v4.0:
Pending analysis
Type:
CWE-918 Server-Side Request Forgery (SSRF)
Publication date:
06/06/2024
Last modified:
09/10/2024

Description

A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio version 4.21.0, specifically within the `/queue/join` endpoint and the `save_url_to_cache` function. The vulnerability arises when the `path` value, obtained from the user and expected to be a URL, is used to make an HTTP request without sufficient validation checks. This flaw allows an attacker to send crafted requests that could lead to unauthorized access to the local network or the AWS metadata endpoint, thereby compromising the security of internal servers.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* 4.41.0 (excluding)


References to Advisories, Solutions, and Tools