Improper Input Validation The advisory has been revoked - it doesn't affect any version of package golang.src  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.92% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-GOLANGSRC-14923100
  • published14 Jan 2026
  • disclosed13 Jul 2021

Introduced: 13 Jul 2021

CVE-2021-34558  (opens in a new tab)
CWE-20  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang.src package and not the golang.src package as distributed by RHEL.

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.

References