Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lin-snow/ech0
  4. ›
  5. GHSA-8mc6-xjpr-h98x

GHSA-8mc6-xjpr-h98x: Ech0 has Server-Side Request Forgery (SSRF) via Connect Handler fetchPeerConnectInfo

May 7, 2026

The fetchPeerConnectInfo function in internal/service/connect/connect.go:214-239 uses httpUtil.SendRequest (no SSRF protection) instead of SendSafeRequest (which has ValidatePublicHTTPURL with private IP blocking). This allows authenticated users to make the server request arbitrary URLs including internal/cloud metadata endpoints.

References

  • github.com/advisories/GHSA-8mc6-xjpr-h98x
  • github.com/lin-snow/Ech0
  • github.com/lin-snow/Ech0/commit/091d26d2d942df6df9f520328d2f9cf2592bbefc
  • github.com/lin-snow/Ech0/security/advisories/GHSA-8mc6-xjpr-h98x

Code Behaviors & Features

Detect and mitigate GHSA-8mc6-xjpr-h98x 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 1.4.8-0.20260503040602-091d26d2d942

Fixed versions

  • 1.4.8-0.20260503040602-091d26d2d942

Solution

Upgrade to version 1.4.8-0.20260503040602-091d26d2d942 or above.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

go/github.com/lin-snow/ech0/GHSA-8mc6-xjpr-h98x.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 00:20:56 +0000.