{"id":"CVE-2024-4325","published":"2024-06-06T17:55:29Z","modified":"2024-08-01T20:40:46Z","title":"Server-Side Request Forgery (SSRF) in gradio-app/gradio","vendor":"gradio-app","product":"gradio-app/gradio","tier":"core","eol":null,"affectedVersions":[{"vendor":"gradio-app","product":"gradio-app/gradio","versions":[">= unspecified, <= latest"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Gradio (gradio-app/gradio, version 4.21.0) contains a Server-Side Request Forgery flaw in the /queue/join endpoint and the save_url_to_cache function, where a user-supplied path value expected to be a URL is used to issue HTTP requests without sufficient validation. An unauthenticated remote attacker can send crafted requests over the network, with no user interaction or special configuration required, to make the server reach the local network or the AWS metadata endpoint and so access internal servers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T13:00:05Z"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.37114,"percentile":0.98517,"date":"2026-10-30","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2024-09-25","exploitedFirstSeen":"2024-09-25","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-09-25&host_type=src&vulnerability=cve-2024-4325","date":"2024-09-25"},{"url":"https://bsky.app/profile/shadowserver.bsky.social/post/3l52cmd5l6j2u","date":"2024-09-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-09-26&host_type=src&vulnerability=cve-2024-4325","date":"2024-09-26"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-09-27&host_type=src&vulnerability=cve-2024-4325","date":"2024-09-27"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-09-28&host_type=src&vulnerability=cve-2024-4325","date":"2024-09-28"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-09-30&host_type=src&vulnerability=cve-2024-4325","date":"2024-09-30"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-10-01&host_type=src&vulnerability=cve-2024-4325","date":"2024-10-01"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-10-03&host_type=src&vulnerability=cve-2024-4325","date":"2024-10-03"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-10-05&host_type=src&vulnerability=cve-2024-4325","date":"2024-10-05"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-10-07&host_type=src&vulnerability=cve-2024-4325","date":"2024-10-07"}],"evidenceTotal":328,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<=4.36.0"],"patched":[],"from":["GHSA-973g-55hp-3frw","PYSEC-2026-1413"],"provenance":"source"}],"advisories":[{"id":"GHSA-973g-55hp-3frw","url":"https://github.com/advisories/GHSA-973g-55hp-3frw","severity":"HIGH","ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<=4.36.0"],"patched":[],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-1995","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1995","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2024-4325","name":"Gradio - Server-Side Request Forgery","severity":"high","path":"http/cves/2024/CVE-2024-4325.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4325.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-06-06","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-4325","provenance":"source"},{"date":"2024-09-25","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-09-25&host_type=src&vulnerability=cve-2024-4325","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":65.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 766 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.7,"detail":"percentile 0.9852"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.02,"detail":"base score 8.6"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}