gradio-app/gradio · Security
Gradio Path Traversal vulnerability
- GHSA ID
- GHSA-f3h9-8phc-6gvh
- CVE ID
- CVE-2024-0964
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-0964 ↗
- https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70 ↗
- https://huntr.com/bounties/25e25501-5918-429c-8541-88832dfd3741 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-261.yaml ↗
- https://github.com/advisories/GHSA-f3h9-8phc-6gvh ↗