patchminder

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)

Exploited
Not confirmed
Weaponized: a Nuclei exploit is public
Severity
Medium 5.9
CVSS 3.1 · CISA assessment · no login needed
Attack likelihood
Very high
EPSS 94.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
Timeline

From publication to today

20 Nov 2023
CVE ID reserved by mitre.
18 Dec 2023
Published in the CVE List.
8 Jan 2025
First public proof of concept on GitHub.
15 Oct 2026
CVE record last updated.
What to do

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 products

Affected and fixed versions

Product and line
Affected
Fixed in
n/a
Not confirmed
Not confirmed
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
V3.1.5 and later
Not confirmed
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
V3.1.5 and later
Not confirmed
SIMATIC S7-1500 TM MFP · GNU/Linux subsystem
before V1.1
V1.1
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
V3.1.5 and later
Not confirmed
russh (crates.io)
before 0.40.2
0.40.2
golang.org/x/crypto (Go)
0.1.0 to before 0.17.0
0.17.0
golang.org/x/crypto (Go)
before 0.0.0-20231218163308-9d2ee975ef9f
0.0.0-20231218163308-9d2ee975ef9f
paramiko (PyPI)
2.5.0 to before 3.4.0
3.4.0
golang.org/x/crypto (Go)
before 0.17.0
0.17.0
Everything else

The full page for CVE-2023-48795

Severity details, every source, exploit references with their warnings, and the version check.

Open CVE-2023-48795All named vulnerabilities