CVE-2024-4325CWE-918

Server-Side Request Forgery (SSRF) in gradio-app/gradio

High · published June 6, 2024

CVSS v3.0
8.6
EPSS
37%
Percentile
98.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
8.6 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.37114 · 98.5th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2024-06-06T17:55Z
EPSS history
Timeline
  • 06 JUN 17:55Z
    Server-Side Request Forgery (SSRF) in gradio-app/gradio
    cvelistv5