6.5medium
Panic on certain certificates in crypto/tls
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 7.03% (higher than 94% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GO-2021-0243BIT-GOLANG-2021-34558
Description
The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| stdlib (Go) | before 1.15.14, from 1.16.0-0 before 1.16.6 | Go Vulnerability Database |
| golang go | before 1.15.14, from 1.16.0 before 1.16.6 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
| netapp cloud_insights_telegraf | Not specified | NVD |
| netapp storagegrid | Not specified | NVD |
| netapp trident | Not specified | NVD |
| oracle timesten_in-memory_database | before 21.1.1.1.0 | NVD |
| golang (Bitnami) | before 1.15.14, from 1.16.0 before 1.16.6 | Bitnami Vulnerability Database |
All scores
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.6low CVSS:2.0 | AV:N/AC:H/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.
Go Vulnerability Database
crypto/tls clients can panic when provided a certificate of the wrong type for the negotiated parameters. net/http clients performing HTTPS requests are also affected.
NVD (es)
El paquete crypto/tls de Go versiones hasta 1.16.5, no afirma apropiadamente que el tipo de clave pública en un certificado X.509 coincida con el tipo esperado cuando se hace un intercambio de claves basado en RSA, permitiendo a un servidor TLS malicioso causar el pánico en un cliente TLS
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-34558 changed 2024-08-04 | CVE Terms of Use |
| Go Vulnerability Database | GO-2021-0243 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2021-34558 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2021-34558 changed 2026-09-08 | Apache-2.0 |