{"id":"CVE-2024-1727","published":"2024-03-21T19:57:39Z","modified":"2024-08-01T18:48:21Z","title":"CSRF Vulnerability in gradio-app/gradio","vendor":"gradio-app","product":"gradio-app/gradio","tier":"tail","description":{"text":"A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00352,"percentile":0.28843,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff","tags":[]},{"url":"https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":5.77},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"gradio-app","affectedVersions":[{"vendor":"gradio-app","product":"gradio-app/gradio","versions":[">= unspecified, < 4.19.2"]}],"affected":[{"ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<4.19.2"],"patched":["4.19.2"],"from":["GHSA-48cq-79qq-6f7x","PYSEC-2026-1409"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1407","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gradio-app-gradio-cve-2023-34239","parents":[{"from":"CVE-2024-2206","to":"CVE-2024-1727","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gradio","fromFixed":"4.18.0","toFixed":"4.19.2","daysApart":-6},{"kind":"same-code","provenance":"machine","files":["gradio/route_utils.py"],"commits":["https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a","https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-1727","to":"CVE-2024-1729","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["gradio/route_utils.py"],"commits":["https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a","https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b"],"basis":"rarely changed file"}]}],"packageHistory":[{"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},{"cve":"CVE-2024-2206","published":"2024-03-27","fixed":"4.18.0","kev":false},{"cve":"CVE-2024-1727","published":"2024-03-21","fixed":"4.19.2","kev":false},{"cve":"CVE-2024-1728","published":"2024-04-10","fixed":"4.19.2","kev":false},{"cve":"CVE-2024-1729","published":"2024-03-29","fixed":"4.19.2","kev":false},{"cve":"CVE-2024-34510","published":"2024-05-05","fixed":"4.20.0","kev":false}],"package":"PyPI:gradio"}}