CVE-2021-34558

MEDIUM6.5EPSS 0.92%

Panic on certain certificates in crypto/tls

Published: 2/17/2022Modified: 4/28/2026
Also known as:DEBIAN-CVE-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 packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References (21)