Hexret
CVE-2023-48795medium 5.9PoC available

Terrapin: SSH prefix truncation via sequence-number desync

The SSH binary packet protocol never resets its packet sequence counter when encryption begins, so a MITM who injects one unauthenticated handshake packet can later delete an encrypted packet undetected and strip the extension-negotiation message.

Product
OpenSSH (SSH transport protocol; many implementations affected)
Vendor
OpenSSH / OpenBSD project
Affected
OpenSSH < 9.6 (also Dropbear <= 2022.83, PuTTY < 0.80, libssh < 0.10.6, AsyncSSH < 2.14.2, golang.org/x/crypto < 0.17.0, and more)
Fixed in
OpenSSH 9.6 / 9.6p1
Weakness
CWE-354
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
18 Dec 2023

Practice this CVE, free

Classified as

References