Skip to content
CriticalVulnerability

CVE-2024-0964: Gradio local file include through user-supplied JSON value in API request

Identifier
CVE-2024-0964
Published
Record updated
View JSON
Affected
  • gradio < 4.9.0
Fixed in
4.9.0
  • released December 12, 2023, 55 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%

Summary

CVE-2024-0964 is a local file include in Gradio that can be triggered remotely through a vulnerable user-supplied JSON value in an API request. It is classified as CWE-22, Improper Limitation of a Pathname to a Restricted Directory. NVD published it on 02/05/2024 and last modified it on 11/21/2024, with no NVD assessment yet provided.

Mitigation

The source links a patch at https://github.com/gradio-app/gradio/commit/d76bcaaaf0734aaf49a680f94ea9d4d22a602e70, but it does not describe the fix or name a fixed version.