{"id":"CVE-2024-1183","published":"2024-04-16T00:00:14Z","modified":"2024-08-01T18:33:24Z","title":"SSRF Vulnerability in gradio-app/gradio","vendor":"gradio-app","product":"gradio-app/gradio","tier":"tail","description":{"text":"An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify open ports within an internal network. By manipulating the 'file' parameter in a GET request, an attacker can discern the status of internal ports based on the presence of a 'Location' header or a 'File not allowed' error in the response.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01799,"percentile":0.78455,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://huntr.com/bounties/103434f9-87d2-42ea-9907-194a3c25007c","tags":[]},{"url":"https://github.com/gradio-app/gradio/commit/2ad3d9e7ec6c8eeea59774265b44f11df7394bb4","tags":[]}],"priority":{"score":25.2,"factors":[{"name":"EPSS percentile","points":15.69},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"exploitSources":{"nuclei":[{"id":"CVE-2024-1183","name":"Gradio - Server Side Request Forgery","severity":"medium","path":"http/cves/2024/CVE-2024-1183.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-1183.yaml"}],"provenance":"source"},"vendorSlug":"gradio-app","affectedVersions":[{"vendor":"gradio-app","product":"gradio-app/gradio","versions":[">= unspecified, < 4.11"]}],"affected":[{"ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<4.10.0"],"patched":["4.10.0"],"from":["GHSA-qh6x-j82h-vpf9","PYSEC-2026-1419"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1278","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-25823","published":"2023-02-23","fixed":"3.13.1","kev":false},{"cve":"CVE-2023-34239","published":"2023-06-07","fixed":"3.34.0","kev":false},{"cve":"CVE-2024-0964","published":"2024-02-05","fixed":"4.9.0","kev":false,"link":{"from":"CVE-2024-0964","to":"CVE-2024-1183","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gradio","fromFixed":"4.9.0","toFixed":"4.10.0","daysApart":71},{"kind":"same-code","provenance":"machine","files":["gradio/routes.py"],"commits":["https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70","https://github.com/gradio-app/gradio/commit/7ba8c5da45b004edd12c0460be9222f5b5f5f055","https://github.com/gradio-app/gradio/commit/2ad3d9e7ec6c8eeea59774265b44f11df7394bb4"],"basis":"shared file"}]}},{"cve":"CVE-2024-1183","published":"2024-04-16","fixed":"4.10.0","kev":false},{"cve":"CVE-2023-51449","published":"2023-12-22","fixed":"4.11.0","kev":false},{"cve":"CVE-2024-1561","published":"2024-04-16","fixed":"4.13.0","kev":false},{"cve":"CVE-2023-6572","published":"2023-12-14","fixed":"4.14.0","kev":false}],"package":"PyPI:gradio"}}