BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on the `/audio/transcriptions` endpoint. An attacker can exploit this vulnerability by sending a specially crafted request that includes a file path to the server, which then deletes the specified file without proper authorization or validation. This vulnerability is present in the code where `os.remove(file.filename)` is used to delete a file, allowing any user to delete critical files on the server such as SSH keys, SQLite databases, or configuration files.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-06-06T18:31:09.735Z
Updated: 2024-08-01T20:55:10.271Z
Reserved: 2024-05-14T22:30:58.413Z
Link: CVE-2024-4888
Vulnrichment
Updated: 2024-08-01T20:55:10.271Z
NVD
Status : Awaiting Analysis
Published: 2024-06-06T19:16:03.397
Modified: 2024-06-07T14:56:05.647
Link: CVE-2024-4888
Redhat
No data.