← Back to CVEs
CVE-2024-4888
HIGH8.1
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.
CVE Details
CVSS v3.1 Score8.1
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published6/6/2024
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
litellm:litellm
Weaknesses (CWE)
CWE-862CWE-862
References
https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c(security@huntr.dev)
https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.