CVE-2024-4888
Last modified
CVE-2024-4888 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.61% chance of exploitation in the next 30 days.
Description
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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Litellm | Litellm | < 1.35.19 |
References
- https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6cExploit, Third Party Advisory
- https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6cExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-4888?
How severe is CVE-2024-4888?
How do I fix CVE-2024-4888?
Are you affected by CVE-2024-4888?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
