Security mailing lists by PureSourceCode

CVE-2021-34558

MEDIUM 6.5CVSS 3.1

Panic on certain certificates in crypto/tls

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.

Published
15 Jul 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-295
Also known as
BIT-golang-2021-34558GO-2021-0243
Sources
NVDJSONOSV GO-2021-0243JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.6 AV:N/AC:H/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
< 1.15.14 1.15.14
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
>= 1.16.0, < 1.16.6 1.16.6
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD netapp cloud_insights_telegraf
cpe:2.3:a:netapp:cloud_insights_telegraf:-:*:*:*:*:*:*:*
(no version)
NVD netapp storagegrid
cpe:2.3:a:netapp:storagegrid:-:*:*:*:*:*:*:*
(no version)
NVD netapp trident
cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*
(no version)
NVD oracle timesten_in-memory_database
cpe:2.3:a:oracle:timesten_in-memory_database:*:*:*:*:*:*:*:*
< 21.1.1.1.0 21.1.1.1.0
OSV Go stdlib < 1.15.14; >= 1.16.0-0, < 1.16.6 1.15.14, 1.16.6

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Jul 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.