#VU55665 Improper Certificate Validation in Go programming language - CVE-2021-34558

 

#VU55665 Improper Certificate Validation in Go programming language - CVE-2021-34558

Published: August 9, 2021 / Updated: August 25, 2021


Vulnerability identifier: #VU55665
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2021-34558
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Go programming language
Software vendor:
Google

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper certificate verification in crypto/tls package in Go when processing X.509 certificates. The application 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.


Remediation

Install updates from vendor's website.

External links