When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
{ "url": "https://pkg.go.dev/vuln/GO-2025-4008", "review_status": "REVIEWED" }
{ "imports": [ { "path": "crypto/tls", "symbols": [ "Conn.Handshake", "Conn.HandshakeContext", "Conn.Read", "Conn.Write", "Dial", "DialWithDialer", "Dialer.Dial", "Dialer.DialContext", "QUICConn.Start", "negotiateALPN" ] } ] }