CVE-2024-9840: Denial of Service (DoS) Vulnerability in open-webui/open-webui

Published Mar 20, 2025
·
Updated

A Denial of Service (DoS) vulnerability exists in open-webui/open-webui version 0.3.21. This vulnerability affects multiple endpoints, including /ollama/models/upload, /audio/api/v1/transcriptions, and /rag/api/v1/doc. The application processes multipart boundaries without authentication, leading to resource exhaustion. By appending additional characters to the multipart boundary, an attacker can cause the server to parse each byte of the boundary, ultimately leading to service unavailability. This vulnerability can be exploited remotely, resulting in high CPU and memory usage, and rendering the service inaccessible to legitimate users.

Other sources

Rejected reason: REJECT DO NOT USE THIS CVE ID NUMBER. The Rejected CVE Record is a duplicate of CVE-2024-53981. Notes: All CVE users should reference CVE-2024-53981 instead of this CVE Record. All references and descriptions in this candidate have been removed to prevent accidental usage.

NVD

Affected Software

3 affected components
open-webui open-webui
pip/open-webui<=0.3.21
npm/open-webui<=0.3.21

Event History

Mar 20, 2025
CVE Published
via MITRE·10:09 AM
Rejected
via MITRE·10:09 AM
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM
Apr 15, 2025
Rejected
via MITRE·03:52 PM
Rejected
via NVD·04:15 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-9840?

CVE-2024-9840 is classified as a Denial of Service (DoS) vulnerability.

2

How do I fix CVE-2024-9840?

To fix CVE-2024-9840, update the open-webui to a version beyond 0.3.21.

3

Which endpoints are affected by CVE-2024-9840?

CVE-2024-9840 affects the endpoints /ollama/models/upload, /audio/api/v1/transcriptions, and /rag/api/v1/doc.

4

What versions of open-webui are vulnerable to CVE-2024-9840?

Open-webui versions up to and including 0.3.21 are vulnerable to CVE-2024-9840.

5

What type of vulnerability is CVE-2024-9840?

CVE-2024-9840 is a Denial of Service (DoS) vulnerability that can disrupt application functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203