CVE-2024-24783
JSON

5.9medium

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

Severity
5.9medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2024-2598BIT-GOLANG-2024-24783

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.

Affected

Product or packageVersionsReported by
crypto/x509before 1.21.8, from 1.22.0-0 before 1.22.1CVE List
stdlib (Go)before 1.21.8, from 1.22.0-0 before 1.22.1Go Vulnerability Database
golang (Bitnami)before 1.21.8, from 1.22.0-0 before 1.22.1Bitnami Vulnerability Database

All scores

CISA-ADP5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

La verificación de una cadena de certificados que contiene un certificado con un algoritmo de clave pública desconocido provocará que Certificate.Verify entre en pánico. Esto afecta a todos los clientes cripto/tls y a los servidores que configuran Config.ClientAuth en VerifyClientCertIfGiven o RequireAndVerifyClientCert. El comportamiento predeterminado es que los servidores TLS no verifiquen los certificados de los clientes.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-24783 changed 2025-02-13CVE Terms of Use
Go Vulnerability DatabaseGO-2024-2598 changed 2026-02-04CC-BY-4.0
NVDCVE-2024-24783 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2024-24783 changed 2026-01-28Apache-2.0