Browse / AI Framework and Platform Flaws / CVE-2024-0964
Gradio Path Traversal vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Path traversal and file access
- Affected
- gradio (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.0% chance of exploitation in 30 days
How it works, in short
A crafted JSON value in a Gradio API request makes the server include and read an arbitrary local file. (Our summary, written by a model. The source text is below.)
Details
A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-0964
- https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70
- https://github.com/gradio-app/gradio
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-261.yaml
- https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741
Source: GitHub Advisory Database, used under CC BY 4.0.