Authentication-data disclosure via IPv6 zone suffix confusion
Published Mar 5, 2024 · Updated Feb 13, 2025
Information disclosure in Go net/http and net/http/cookiejar before 1.21.8 and in 1.22.0 allows remote attackers to steal authentication data. IPv6 addresses with crafted zone identifiers are passed to suffix-based host checks in isDomainOrSubdomain and cookiejar.hasDotSuffix, causing an unrelated redirect host to be treated as a trusted subdomain. Exploitation requires a client to send authorization headers or scoped cookies and to follow an attacker-influenced redirect or reuse a cookie jar for an attacker-controlled URL.
Summary
What happened
Information disclosure in Go net/http and net/http/cookiejar before 1.21.8 and in 1.22.0 allows remote attackers to steal authentication data. IPv6 addresses with crafted zone identifiers are passed to suffix-based host checks in isDomainOrSubdomain and cookiejar.hasDotSuffix, causing an unrelated redirect host to be treated as a trusted subdomain. Exploitation requires a client to send authorization headers or scoped cookies and to follow an attacker-influenced redirect or reuse a cookie jar for an attacker-controlled URL.
The record
- CVE
- CVE-2023-45289
- Published
- Mar 5, 2024
- Updated
- Feb 13, 2025
- Vendor
- Go standard library
- Product
- net/http
- Classifications
- T1528, T1539
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 5, 2024CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.21.8
- Affected versionversion=1.22.0-0 <1.22.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Go Playground net/http header-leak demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo