{"id":"CVE-2024-0964","published":"2024-02-05T22:53:44Z","modified":"2024-08-26T18:01:55Z","title":"LFI in Gradio","vendor":"gradio-app","product":"gradio-app/gradio","tier":"tail","description":{"text":"A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00959,"percentile":0.6148,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741","tags":[]},{"url":"https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":12.3},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gradio-app","affectedVersions":[{"vendor":"gradio-app","product":"gradio-app/gradio","versions":[">= unspecified, < x"]}],"affected":[{"ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<4.9.0"],"patched":["4.9.0"],"from":["GHSA-f3h9-8phc-6gvh","PYSEC-2024-261"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0623","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gradio-app-gradio-cve-2023-34239","children":[{"from":"CVE-2024-0964","to":"CVE-2024-2206","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["client/js/src/client.ts","client/python/gradio_client/utils.py","gradio/blocks.py"],"commits":["https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70","https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6"],"basis":"shared function","functions":["api_factory","predict","sse_stream"]}]}],"packageHistory":[{"cve":"CVE-2022-24770","published":"2022-03-17","fixed":"2.8.11","kev":false},{"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},{"cve":"CVE-2024-1183","published":"2024-04-16","fixed":"4.10.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-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}],"package":"PyPI:gradio"}}