Advisory

GO-2023-2402

Also known as: CVE-2023-48795, GHSA-45x7-px36-x8w8, PYSEC-2026-1758

Summary

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.

Severity

Not rated by the source.

Dates

Published
2023-12-18 21:18 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.17.0 (semver)

Fixed versions

0.17.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences