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

LiteLLM Vulnerable to Denial of Service (DoS)

The LiteLLM server uses ast.literal_eval to parse user-supplied input, which is unsafe and can be exploited to cause a denial of service. An unauthenticated attacker could crash the Python server.

BerriAI/litellm

Originally disclosed on huntr

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.

From the GitHub Advisory Database (GHSA-gw2q-qw9j-rgv7, 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 server uses ast.literal_eval on untrusted user input without proper safeguards, allowing resource exhaustion.

Impact

An unauthenticated attacker could crash the LiteLLM Python server, causing a denial of service.

What the attacker needed

No authentication required

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 unavailable, often by crashing it. Here, the server uses a Python function called ast.literal_eval to read input from users, but that function can be abused to consume excessive resources and crash the server. Anyone can trigger this without logging in.

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.