LiteLLM Vulnerable to Denial of Service (DoS) via Crafted HTTP Request
GHSA-fh2c-86xm-pm2x · CVE-2024-8984 · PYSEC-2026-1545
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
A Denial of Service (DoS) vulnerability exists in berriai/litellm version v1.44.5. This vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. The server continuously processes each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction, impacting all users of the service.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2024-8984
- WEB https://github.com/BerriAI/litellm/commit/4f49f836aa844ac9b6bfbeff27e6f6b2b9cf3f61
- PACKAGE https://github.com/BerriAI/litellm
- WEB https://github.com/BerriAI/litellm/blob/8c5ff150f6142608ffe968e4e68429f978fda187/litellm/tests/test_spend_logs.py#L242
- WEB https://huntr.com/bounties/554fc76b-3097-4223-b4cf-110b853e9355
Ready to move
Start Securing
Free, no credit card | First findings in minutes