ADVISORIES

Vulnerability

CVE-2021-34558

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.

48 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALAS2-2021-1694

    Amazon Linux 2 2017.12 - ALAS2-2021-1694: medium priority package update for golang

    Medium CVE-2021-33196CVE-2021-34558 Amazon Linux Updated 5 August 2021
  • ALPINE-CVE-2021-34558

    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…

    CVE-2021-34558 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2021-34558
    CVE-2021-34558 Alpine Updated 18 November 2026
  • ALSA-2021:4226

    Moderate: grafana security, bug fix, and enhancement update

    CVE-2021-27358CVE-2021-3114CVE-2021-33195CVE-2021-33197 AlmaLinux Updated 29 October 2026
  • ALSA-2022:7954

    Moderate: podman security and bug fix update

    CVE-2020-28851CVE-2020-28852CVE-2021-20199CVE-2021-20291 AlmaLinux Updated 29 October 2026
  • AZL-105164

    CVE-2021-34558 affecting package golang 1.26.7-1

    CVE-2021-34558 Azure Linux Updated 15 October 2026
  • AZL-105167

    CVE-2021-34558 affecting package golang 1.27.1-1

    CVE-2021-34558 Azure Linux Updated 15 October 2026
  • DEBIAN-CVE-2021-34558

    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…

    CVE-2021-34558 Debian Updated 24 November 2026
  • ELSA-2021-3076

    ELSA-2021-3076: go-toolset:ol8 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2021-27918CVE-2021-31525CVE-2021-33196CVE-2021-34558 Oracle Linux Updated 12 August 2021
  • ELSA-2021-4226

    ELSA-2021-4226: grafana security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2021-27358CVE-2021-3114CVE-2021-33195CVE-2021-33197 Oracle Linux Updated 16 November 2021
  • ELSA-2022-7954

    ELSA-2022-7954: podman security and bug fix update (MODERATE)

    Moderate CVE-2020-28851CVE-2020-28852CVE-2021-20199CVE-2021-20291 Oracle Linux Updated 22 November 2022
  • ELSA-2024-2988

    ELSA-2024-2988: container-tools:ol8 security update (MODERATE)

    Moderate CVE-2018-25091CVE-2021-33198CVE-2021-34558CVE-2022-2879 Oracle Linux Updated 24 May 2024
  • GO-2021-0243

    Panic on certain certificates in crypto/tls

    CVE-2021-34558 Go Updated 20 May 2024
  • OESA-2021-1402

    golang security update

    Critical CVE-2021-29923CVE-2021-33195CVE-2021-33196CVE-2021-33197 openEuler Updated 18 August 2026
  • OESA-2025-1059

    buildah security update

    Critical CVE-2021-34558CVE-2022-1962CVE-2022-2990CVE-2022-41715 openEuler Updated 18 August 2026
  • RHBA-2021:2979

    Red Hat Bug Fix Advisory: OpenShift Container Platform 4.7.23 packages update

    CVE-2021-31525CVE-2021-33195CVE-2021-33197CVE-2021-33198 Red Hat Updated 13 November 2026
  • RHEA-2021:3287

    Red Hat Enhancement Advisory: Red Hat OpenShift Service on AWS 1.0 enhancements

    CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2021:2984

    Red Hat Security Advisory: OpenShift Container Platform 4.8.4 bug fix and security update

    CVE-2021-31525CVE-2021-33195CVE-2021-33196CVE-2021-33197 Red Hat Updated 13 November 2026
  • RHSA-2021:3009

    Red Hat Security Advisory: OpenShift Container Platform 4.6.42 security update

    CVE-2021-33195CVE-2021-33197CVE-2021-33198CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2021:3015

    Red Hat Security Advisory: go-toolset-1.15 and go-toolset-1.15-golang security and bug fix update

    CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2021:3076

    Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update

    CVE-2021-27918CVE-2021-31525CVE-2021-33196CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2021:3248

    Red Hat Security Advisory: OpenShift Container Platform 4.8.9 packages and security update

    CVE-2021-31525CVE-2021-33195CVE-2021-33197CVE-2021-33198 Red Hat Updated 13 November 2026
  • RHSA-2021:3555

    Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.17.0

    CVE-2021-27918CVE-2021-31525CVE-2021-33195CVE-2021-33196 Red Hat Updated 13 November 2026
  • RHSA-2021:3820

    Red Hat Security Advisory: OpenShift Container Platform 4.8.15 packages and security update

    CVE-2021-21670CVE-2021-21671CVE-2021-33195CVE-2021-33197 Red Hat Updated 13 November 2026
  • RHSA-2021:4226

    Red Hat Security Advisory: grafana security, bug fix, and enhancement update

    CVE-2021-27358CVE-2021-3114CVE-2021-33195CVE-2021-33197 Red Hat Updated 13 November 2026
  • RHSA-2021:4722

    Red Hat Security Advisory: OpenShift Virtualization 2.6.8 RPMs security and bug fix update

    CVE-2021-29923CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2021:5085

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and bug fix update

    CVE-2020-8565CVE-2021-33195CVE-2021-33197CVE-2021-33198 Red Hat Updated 13 November 2026
  • RHSA-2022:0237

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (etcd) security update

    CVE-2021-29923CVE-2021-34558CVE-2021-44716 Red Hat Updated 13 November 2026
  • RHSA-2022:0260

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.1 (etcd) security update

    CVE-2021-29923CVE-2021-34558CVE-2021-44716 Red Hat Updated 13 November 2026
  • RHSA-2022:0988

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.1 (golang-github-vbatts-tar-split) security update

    CVE-2021-29923CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2022:0998

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (golang-github-vbatts-tar-split) security update

    CVE-2021-29923CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2022:1329

    Red Hat Security Advisory: OpenShift Virtualization 4.8.5 RPMs security update

    CVE-2021-33195CVE-2021-33197CVE-2021-33198CVE-2021-34558 Red Hat Updated 13 November 2026
  • RHSA-2022:7954

    Red Hat Security Advisory: podman security and bug fix update

    CVE-2020-28851CVE-2020-28852CVE-2021-20199CVE-2021-20291 Red Hat Updated 23 November 2026
  • RHSA-2024:2988

    Red Hat Security Advisory: container-tools:rhel8 security update

    CVE-2018-25091CVE-2021-33198CVE-2021-34558CVE-2022-2879 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-34558

    golang: crypto/tls: certificate of wrong type is causing TLS client to panic

    Moderate CVE-2021-34558 Red Hat Updated 6 November 2026
  • RLSA-2021:3076

    Moderate: go-toolset:rhel8 security, bug fix, and enhancement update

    CVE-2021-27918CVE-2021-31525CVE-2021-33196CVE-2021-34558 Rocky Linux Updated 5 February 2026
  • RLSA-2021:4226

    Moderate: grafana security, bug fix, and enhancement update

    CVE-2021-27358CVE-2021-3114CVE-2021-33195CVE-2021-33197 Rocky Linux Updated 5 February 2026
  • RLSA-2024:2988

    Moderate: container-tools:rhel8 security update

    CVE-2018-25091CVE-2021-33198CVE-2021-34558CVE-2022-2879 Rocky Linux Updated 7 May 2025
  • SUSE-SU-2021:2392-1

    Security update for go1.16

    CVE-2021-34558 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2398-1

    Security update for go1.15

    CVE-2021-34558 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2021-34558

    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…

    Moderate CVE-2021-34558 SUSE Updated 11 October 2026
  • UBUNTU-CVE-2021-34558

    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…

    CVE-2021-34558 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2021:1078-1

    Security update for go1.16

    CVE-2021-34558 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:1079-1

    Security update for go1.15

    CVE-2021-34558 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2392-1

    Security update for go1.16

    CVE-2021-34558 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2398-1

    Security update for go1.15

    CVE-2021-34558 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10808-1

    go1.15-1.15.15-1.2 on GA media

    CVE-2020-24553CVE-2020-28362CVE-2020-28366CVE-2020-28367 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10809-1

    go1.16-1.16.8-1.1 on GA media

    CVE-2021-27918CVE-2021-27919CVE-2021-31525CVE-2021-33195 openSUSE Updated 4 February 2026

References