Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. litellm
  4. ›
  5. CVE-2024-8984

CVE-2024-8984: LiteLLM Vulnerable to Denial of Service (DoS) via Crafted HTTP Request

March 20, 2025 (updated April 8, 2025)

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

  • github.com/BerriAI/litellm
  • github.com/BerriAI/litellm/blob/8c5ff150f6142608ffe968e4e68429f978fda187/litellm/tests/test_spend_logs.py
  • github.com/BerriAI/litellm/commit/4f49f836aa844ac9b6bfbeff27e6f6b2b9cf3f61
  • github.com/advisories/GHSA-fh2c-86xm-pm2x
  • huntr.com/bounties/554fc76b-3097-4223-b4cf-110b853e9355
  • nvd.nist.gov/vuln/detail/CVE-2024-8984

Code Behaviors & Features

Detect and mitigate CVE-2024-8984 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.56.2

Fixed versions

  • 1.56.2

Solution

Upgrade to version 1.56.2 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/litellm/CVE-2024-8984.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.