Vulnerability library
Security checkSeptember 30, 2024

lobe-chat implemented an insufficient fix for GHSA-mxhq-xw3g-rphc (CVE-2024-32964)

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@lobehub/chat

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

SSRF protection implemented in https://github.com/lobehub/lobe-chat/blob/main/src/app/api/proxy/route.ts does not consider redirect and could be bypassed when attacker provides external malicious url which redirects to internal resources like private network or loopback address.

Recommendation

Update the @lobehub/chat package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 1.19.12
  • Patched version(s): 1.19.13

References

Could your website be exposed too?

SmartScanner can check your website for lobe-chat implemented an insufficient fix for GHSA-mxhq-xw3g-rphc (CVE-2024-32964) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 30, 2024