Browse / AI Framework and Platform Flaws / CVE-2024-10188
LiteLLM Vulnerable to Denial of Service (DoS)
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- litellm (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.6% chance of exploitation in 30 days
How it works, in short
Unauthenticated requests reach an ast.literal_eval call on user-supplied input, which can exhaust resources and crash the LiteLLM server. (Our summary, written by a model. The source text is below.)
Details
A vulnerability in BerriAI/litellm, as of commit 26c03c9, allows unauthenticated users to cause a Denial of Service (DoS) by exploiting the use of ast.literal_eval to parse user input. This function is not safe and is prone to DoS attacks, which can crash the litellm Python server.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10188
- https://github.com/berriai/litellm/commit/21156ff5d0d84a7dd93f951ca033275c77e4f73c
- https://github.com/BerriAI/litellm
- https://huntr.com/bounties/96a32812-213c-4819-ba4e-36143d35e95b
Source: GitHub Advisory Database, used under CC BY 4.0.