Certificate Chain Verification Panics with Unknown Public Key Algorithm
CVE-2024-24783
5.9MEDIUM
What is CVE-2024-24783?
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.
Affected Version(s)
crypto/x509 0 < 1.21.8
crypto/x509 1.22.0-0 < 1.22.1