5.9Medium

CVE-2024-24783Verify panics on certificates with an unknown public key algorithm in crypto/x509

Go standard library crypto/x509 Published: (2 years ago)

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.

Weakness (CWE): CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library crypto/x509 < 1.21.8, 1.22.0-0 – < 1.22.1

References and patches