Arbitrary File Deletion Vulnerability in BerriAI's littellm
CVE-2024-4888
8.1HIGH
Key Information
- Vendor
- Berriai
- Status
- Berriai/litellm
- Vendor
- CVE Published:
- 6 June 2024
Summary
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.
Affected Version(s)
berriai/litellm <= unspecified
CVSS V3.1
Score:
8.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Risk change from: 8.1 to: 6.5 - (MEDIUM)
Risk change from: null to: 6.5 - (MEDIUM)
Vulnerability published.
Vulnerability Reserved.
Collectors
NVD DatabaseMitre Database