Browse / AI Framework and Platform Flaws / CVE-2024-10648
Gradio Vulnerable to Arbitrary File Deletion
- 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:N/I:L/A:H
- EPSS
- 0.7% chance of exploitation in 30 days
How it works, in short
The audio component builds file paths from user-controlled format values, letting an attacker truncate arbitrary files to empty. (Our summary, written by a model. The source text is below.)
Details
A path traversal vulnerability exists in the Gradio Audio component of gradio-app/gradio, as of version git 98cbcae. This vulnerability allows an attacker to control the format of the audio file, leading to arbitrary file content deletion. By manipulating the output format, an attacker can reset any file to an empty file, causing a denial of service (DOS) on the server.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10648
- https://github.com/gradio-app/gradio
- https://github.com/gradio-app/gradio/blame/98cbcaef827de7267462ccba180c7b2ffb1e825d/gradio/processing_utils.py#L234
- https://huntr.com/bounties/667d664d-8189-458c-8ed7-483fe8f33c76
Source: GitHub Advisory Database, used under CC BY 4.0.