Browse / AI Framework and Platform Flaws / GHSA-w466-2wfc-8g58
Open WebUI has vulnerable dependency on starlette via fastapi
- 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 bundled older starlette version, pulled in through fastapi, can be driven to exhaust memory by sending crafted requests. (Our summary, written by a model. The source text is below.)
Details
In version 0.3.32 of open-webui, the application uses a vulnerable version of the starlette package through its dependency on fastapi. The starlette package versions <=0.49 are susceptible to uncontrolled resource consumption, which can be exploited to cause a denial of service through memory exhaustion. This issue is addressed in fastapi version 0.115.3.
References
- https://github.com/encode/starlette/security/advisories/GHSA-f96h-pmfr-66vw
- https://nvd.nist.gov/vuln/detail/CVE-2024-47874
- https://github.com/open-webui/open-webui/commit/941836406219f51dc5f807ea426795b42884b688
- https://github.com/open-webui/open-webui
- https://github.com/open-webui/open-webui/releases/tag/v0.5.8
- https://huntr.com/bounties/56175583-70e3-4d53-94de-3f3a8e2423ec
Source: GitHub Advisory Database, used under CC BY 4.0.