UNKNOWN Go

Verify panics on certificates with an unknown public key algorithm in crypto/x509

GO-2024-2598 · BIT-golang-2024-24783 · CVE-2024-24783

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

Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic.

This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.

Ready to move

Start Securing

Free, no credit card | First findings in minutes