MEDIUM5.3
GO-2025-4008
ALPN negotiation error contains attacker controlled information in crypto/tls
Quick fix
GO-2025-4008 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.24.8Details
When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.
Are you affected?
Enter the version of the package you're using.