MEDIUM
CVE-2021-34558
CWE-295Published: July 15, 2021· Updated: Jun 17, 2026
6.5
CVSS v3.1
Official 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.
Technical Analysis
CVE-2021-34558 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.
A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.5.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (32)
→
https://golang.org/doc/devel/release#go1.16.minorRelease Notes · Vendor Advisory
→
https://groups.google.com/g/golang-announceMailing List · Third Party Advisory
→
https://groups.google.com/g/golang-announce/c/n9FxMelZGAQMailing List · Release Notes · Third Party Advisory
→
https://security.gentoo.org/glsa/202208-02Third Party Advisory
→
https://security.netapp.com/advisory/ntap-20210813-0005/Third Party Advisory
→
https://www.oracle.com/security-alerts/cpujan2022.htmlPatch · Third Party Advisory
Quick Facts
CVE IDCVE-2021-34558
CVSS Score6.5 / 10
SeverityMEDIUM
WeaknessCWE-295
CISA KEVNo
Affected4 vendor(s)
PublishedJul 15, 2021
Related CVEs (CWE-295)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-34558 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.