Browse / AI Framework and Platform Flaws / CVE-2024-12537
Open WebUI Uncontrolled Resource Consumption vulnerability
- 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
An unauthenticated endpoint accepts very large content for formatting, so an anonymous client can exhaust server resources until it stops responding. (Our summary, written by a model. The source text is below.)
Details
In version 0.3.32 of open-webui/open-webui, the absence of authentication mechanisms allows any unauthenticated attacker to access the api/v1/utils/code/format endpoint. If a malicious actor sends a POST request with an excessively high volume of content, the server could become completely unresponsive. This could lead to severe performance issues, causing the server to become unresponsive or experience significant degradation, ultimately resulting in service interruptions for legitimate users.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-12537
- https://github.com/open-webui/open-webui
- https://github.com/open-webui/open-webui/blob/e8babe62bc8e466be0367703fd062a981f5c2394/src/lib/apis/utils/index.ts#L25-L56
- https://huntr.com/bounties/edabd06c-acc0-428c-a481-271f333755bc
Source: GitHub Advisory Database, used under CC BY 4.0.