CVE-2024-24783

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

State
Published
Severity
5.9 Medium
Published
Mar 5, 2024
Updated
Feb 13, 2025
Reserved
Jan 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
crypto/x509Go standard library
  • before 1.21.8Affected
  • 1.22.0-0 to before 1.22.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.