ID:6657 - Exploit for Improper Certificate Validation in Go programming language - CVE-2021-34558

 
Main Vulnerability Database Exploits ID:6657 - Exploit for Improper Certificate Validation in Go programming language - CVE-2021-34558

ID:6657 - Exploit for Improper Certificate Validation in Go programming language - CVE-2021-34558

Published: August 25, 2021


Vulnerability identifier: #VU55665
Vulnerability risk: Medium
CVE-ID: CVE-2021-34558
CWE-ID: CWE-295
Exploitation vector: Remote access
Vulnerable software:
Go programming language

Link to public exploit:


Vulnerability 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.