Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2021-34558: Go crypto/tls Client Denial of Service via Certificate Public-Key Type Confusion

Published Jul 15, 2021 · Updated 7 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS6.5Medium · v3.1
EPSS7.0%94th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
NetAppFedora ProjectGolangOracle Corporation
IdentifiersCVE-2021-34558CWE-843

CVE-2021-34558 is a public-key type validation vulnerability in Go's crypto/tls package affecting Go through version 1.16.5. During RSA-based TLS key exchange, the client does not properly verify that the public key in the server's X.509 certificate has the expected type. A malicious TLS server can present a certificate containing an incompatible public-key type, causing the client to panic and potentially terminating the application.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can disrupt an affected TLS client through a panic. If the panic is not recovered, the hosting process terminates, potentially interrupting services that perform outbound TLS connections. No confidentiality or integrity impact is established.

Mitigation

If you can’t patch tonight, do this now.

Restrict clients to TLS 1.3, or disable all TLS_RSA cipher suites for TLS 1.0 through 1.2; clients with either configuration are unaffected. Red Hat nevertheless stated that no mitigation meeting its Product Security criteria was available.

Remediation

Patch, then assume compromise.

Apply vendor security updates that correct Go's crypto/tls certificate public-key type validation. Update affected Go-built applications and container images as well as the toolchain; locally built applications should be rebuilt using a patched toolchain and redeployed. Relevant updates include RHSA-2021:3076 for the RHEL 8 Go Toolset, which supplies Go 1.15.14, and CIQ advisories ciqsa-2026_1599 and ciqsa-2026_1600 for affected Rocky Linux 8.6 golang and go-toolset packages.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Fedora ProjectFedoraoperating_system
GolangGoapplication
NetAppCloud Insights Telegrafapplication
NetAppStoragegridapplication
NetAppTridentapplication
Oracle CorporationTimesten In-Memory Databaseapplication
FAQ

Frequently asked questions

Is CVE-2021-34558 exploited in the wild?
As of Nov 15, 2026, Mallory has no reports of CVE-2021-34558 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-34558?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-34558, the earliest disclosed Jul 13, 2021.
Is there a patch for CVE-2021-34558?
Apply vendor security updates that correct Go's crypto/tls certificate public-key type validation. Update affected Go-built applications and container images as well as the toolchain; locally built applications should be rebuilt using a patched toolchain and redeployed.
What products are affected by CVE-2021-34558?
Golang Go, NetApp Cloud Insights Telegraf, Fedora Project Fedora, NetApp Storagegrid, Oracle Corporation Timesten In-Memory Database, and 1 more.
How severe is CVE-2021-34558?
CVE-2021-34558 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 7.0% (94th percentile) as of Nov 15, 2026.
Activity feed

Recent activity

39 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+35 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.