Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-4888— Arbitrary File Deletion in BerriAI/litellm

Quick assessment

Affected
berriai berriai/litellm
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LiteLLM是Berri AI开源的一个应用程序。可以使用 OpenAI 格式调用所有 LLM API。 LiteLLM 存在输入验证错误漏洞,该漏洞源于 /audio/transcriptions API 存在输入验证不当问题,导致容易受到任意文件删除的影响。

AI Predicted 9.8 Difficulty: Easy EPSS 0.62% · P49
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-4888

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Arbitrary File Deletion in BerriAI/litellm
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5
Vulnerability Title
LiteLLM 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LiteLLM是Berri AI开源的一个应用程序。可以使用 OpenAI 格式调用所有 LLM API。 LiteLLM 存在输入验证错误漏洞,该漏洞源于 /audio/transcriptions API 存在输入验证不当问题,导致容易受到任意文件删除的影响。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
berriai berriai/litellm unspecified ~ latest -

II. Public POCs for CVE-2024-4888

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-4888

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-4888 (1)

Same Patch Batch · berriai · 2024-06-06 · 4 CVEs total

CVE-2024-5225 SQL Injection in berriai/litellm
CVE-2024-4889 Code Injection in berriai/litellm
CVE-2024-4890 Blind SQL Injection in berriai/litellm

IV. Related Vulnerabilities

V. Comments for CVE-2024-4888

No comments yet


Leave a comment