Browse / AI Framework and Platform Flaws / GHSA-6wj5-5pgr-jwq8
Open WebUI Unauthenticated Multipart Boundary Denial of Service (DoS) Vulnerability in api/chat/file
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- open-webui (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
How it works, in short
A malformed multipart boundary with many trailing characters makes the upload handler process each character endlessly, hanging the server for all users. (Our summary, written by a model. The source text is below.)
Details
A vulnerability in open-webui/open-webui version 79778fa allows an attacker to cause a Denial of Service (DoS) by uploading a file with a malformed multipart boundary. By appending a large number of characters to the end of the multipart boundary, the server continuously processes each character, rendering the application inaccessible. This issue can prevent all users from accessing the application until the server recovers.
References
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-59g5-xgcq-4qw3
- https://nvd.nist.gov/vuln/detail/CVE-2024-53981
- https://github.com/open-webui/open-webui/commit/f311c03a21dc09e279a0cad7482a68b273517baf
- https://github.com/open-webui/open-webui
- https://huntr.com/bounties/15eb4fbe-70d4-420e-806a-ec6f4ecb7202
Source: GitHub Advisory Database, used under CC BY 4.0.