ADVISORIES

Go Vulnerability Database

GO-2023-2402

Man-in-the-middle attacker can compromise integrity of secure channel in golang.org/x/crypto

Details

A protocol weakness allows a MITM attacker to compromise the integrity of the secure channel before it is established, allowing the attacker to prevent transmission of a number of messages immediately after the secure channel is established without either side being aware.

The impact of this attack is relatively limited, as it does not compromise confidentiality of the channel. Notably this attack would allow an attacker to prevent the transmission of the SSH2_MSG_EXT_INFO message, disabling a handful of newer security features.

This protocol weakness was also fixed in OpenSSH 9.6.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
All versions before 0.17.0 (fixed in 0.17.0)

References