Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/dadrus/heimdall
  4. ›
  5. GHSA-38x9-25wx-7fg2

GHSA-38x9-25wx-7fg2: Heimdall: IP Spoofing via Unvalidated Forwarding Headers

June 18, 2026

When the trusted_proxies option is configured, heimdall extracts client IP addresses from the Forwarded (for= parameter) and X-Forwarded-For headers and exposes them as Request.ClientIPAddresses to the rule pipeline. However, extracted values are not validated to be syntactically valid IP addresses. Arbitrary strings, malformed IP literals, and RFC 7239 unknown values and obfuscated identifiers are accepted without further checks. In addition, the Forwarded header parser splits on , and ; without accounting for RFC 7239 quoted strings, which can cause a single quoted value to be parsed as multiple entries, with fragments — including trailing quote characters — treated as independent addresses.

References

  • github.com/advisories/GHSA-38x9-25wx-7fg2
  • github.com/dadrus/heimdall/security/advisories/GHSA-38x9-25wx-7fg2

Code Behaviors & Features

Detect and mitigate GHSA-38x9-25wx-7fg2 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.17.17

Fixed versions

  • 0.17.17

Solution

Upgrade to version 0.17.17 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-20: Improper Input Validation
  • CWE-290: Authentication Bypass by Spoofing

Source file

go/github.com/dadrus/heimdall/GHSA-38x9-25wx-7fg2.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:54 +0000.