Skip to content
HighVulnerability

CVE-2024-4325: Gradio SSRF through the queue/join endpoint and save_url_to_cache

Identifier
CVE-2024-4325
Published
Record updated
View JSON
Affected
  • gradio <= 4.36.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
37.1%

Summary

CVE-2024-4325 is an SSRF flaw in gradio-app/gradio version 4.21.0, reached through the `/queue/join` endpoint and the `save_url_to_cache` function. The `path` value taken from the user, expected to be a URL, is used for an HTTP request without sufficient validation. An attacker can send crafted requests to reach the local network or the AWS metadata endpoint and compromise internal servers.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.