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 package | Versions | Reported by |
|---|---|---|
| crypto/x509 | before 1.21.8, from 1.22.0-0 before 1.22.1 | CVE List |
| stdlib (Go) | before 1.21.8, from 1.22.0-0 before 1.22.1 | Go Vulnerability Database |
| golang (Bitnami) | before 1.21.8, from 1.22.0-0 before 1.22.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-24783 changed 2025-02-13 | CVE Terms of Use |
| Go Vulnerability Database | GO-2024-2598 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2024-24783 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2024-24783 changed 2026-01-28 | Apache-2.0 |