GO-2025-4008
ALPN negotiation error contains attacker controlled information in crypto/tls
At a glance
- Published
- Updated
- CVE
- CVE-2025-58189
- Aliases
- BIT-golang-2025-58189
Description
When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.24.8, introduced 1.25.0, fixed 1.25.2 |
References
- https://go.dev/cl/707776 FIX
- https://go.dev/issue/75652 REPORT
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |