UNKNOWN Go
ALPN negotiation error contains attacker controlled information in crypto/tls
GO-2025-4008 · BIT-golang-2025-58189 · CVE-2025-58189
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes