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
Sun, 03 Nov 2024 17:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-20 |
Sun, 03 Nov 2024 17:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | 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. |
First Time appeared |
Berriai
Berriai litellm |
|
CPEs | cpe:2.3:a:berriai:litellm:1.34.41:*:*:*:*:*:*:* | |
Vendors & Products |
Berriai
Berriai litellm |
|
Metrics |
ssvc
|
Thu, 17 Oct 2024 19:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Litellm
Litellm litellm |
|
Weaknesses | CWE-862 | |
CPEs | cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* | |
Vendors & Products |
Litellm
Litellm litellm |
|
Metrics |
cvssV3_1
|
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-06-06T18:31:09.735Z
Updated: 2024-11-03T18:27:22.574Z
Reserved: 2024-05-14T22:30:58.413Z
Link: CVE-2024-4888
Vulnrichment
Updated: 2024-08-01T20:55:10.271Z
NVD
Status : Modified
Published: 2024-06-06T19:16:03.397
Modified: 2024-11-21T09:43:47.830
Link: CVE-2024-4888
Redhat
No data.