Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @lobehub/chat
  4. ›
  5. CVE-2024-37895

CVE-2024-37895: Lobe Chat API Key Leak

June 17, 2024

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.

References

  • github.com/advisories/GHSA-p36r-qxgx-jq2v
  • github.com/lobehub/lobe-chat
  • github.com/lobehub/lobe-chat/security/advisories/GHSA-p36r-qxgx-jq2v
  • nvd.nist.gov/vuln/detail/CVE-2024-37895

Code Behaviors & Features

Detect and mitigate CVE-2024-37895 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.162.25

Fixed versions

  • 0.162.25

Solution

Upgrade to version 0.162.25 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/@lobehub/chat/CVE-2024-37895.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.