Terrapin.Vulnerability.
Terrapin is the nickname of CVE-2023-48795 in Siemens RUGGEDCOM APE1808. The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms.
Name used by: terrapin-attack.com (Ruhr University Bochum)
From publication to today
Fix it
- Upgrade SIMATIC S7-1500 TM MFP · GNU/Linux subsystem to V1.1 or later.
- Upgrade russh (crates.io) to 0.40.2 or later.
- Upgrade golang.org/x/crypto (Go) to 0.0.0-20231218163308-9d2ee975ef9f, 0.17.0 or later, whichever matches your release line.
- Upgrade paramiko (PyPI) to 3.4.0 or later.
Affected and fixed versions
The full page for CVE-2023-48795
Severity details, every source, exploit references with their warnings, and the version check.