Vulnerability · Published Jun 17, 2024 · Assigned by GitHub_M
CVE-2024-37895API Key Leak in lobe-chat
Medium 5.7
In plain English
A medium-severity information exposure in lobe-chat from lobehub. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Lobe Chat is an open-source LLMs/AI chat framework. In affected versions if an attacker can successfully authenticate through SSO/Access Code, they can obtain the real backend API Key by modifying the base URL to their own attack URL on the frontend and setting up a server-side request. This issue has been addressed in version 0.162.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @lobehub/chat | 0.162.25 | GHSA-p36r-qxgx-jq2v |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-p36r-qxgx-jq2v x_refsource_CONFIRM