CVE-2021-34558

Related Vulnerabilities: 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.

Description

The MITRE CVE dictionary describes this issue as:

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.

Additional Information

  • Bugzilla 1983596: CVE-2021-34558 golang: specially-crafted TLS server is causing TLS client to panic
  • FAQ: Frequently asked questions about CVE-2021-34558