HIGH7.5
GHSA-w466-2wfc-8g58
Open WebUI has vulnerable dependency on starlette via fastapi
Quick fix
GHSA-w466-2wfc-8g58 — open-webui: upgrade to the fixed version with the command below.
pip install --upgrade 'open-webui>=0.5.8'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/encode/starlette/security/advisories/GHSA-f96h-pmfr-66vw[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-47874[ADVISORY]
- https://github.com/open-webui/open-webui/commit/941836406219f51dc5f807ea426795b42884b688[WEB]
- https://github.com/open-webui/open-webui[PACKAGE]
- https://github.com/open-webui/open-webui/releases/tag/v0.5.8[WEB]
- https://huntr.com/bounties/56175583-70e3-4d53-94de-3f3a8e2423ec[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/open-webui"]}'