Skip to content
DoS Disclosed report Intermediate CVE-2024-8984

LiteLLM Vulnerable to Denial of Service (DoS) via Crafted HTTP Request

A denial-of-service flaw in LiteLLM v1.44.5 allows an unauthenticated attacker to append extra characters to a multipart boundary in an HTTP request, causing the server to process each character and exhaust resources, making the service unavailable.

BerriAI/litellm

Originally disclosed on huntr

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.

From the GitHub Advisory Database (GHSA-fh2c-86xm-pm2x, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the multipart parser does not limit or properly handle excessive characters appended to the boundary, causing unbounded processing.

Impact

An unauthenticated attacker could cause the service to become unavailable for all users by sending a crafted request.

What the attacker needed

No authentication; no user interaction

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A denial-of-service attack makes a service so busy that it cannot respond to normal users. Here, the server mishandles a specially crafted request that includes extra characters after a boundary marker, and it keeps working on each character, using up resources until the service stops responding.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from BerriAI/litellm

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.