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. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 86
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Openbsd Openssh
cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
|
— |
9.6
|
|
Putty Putty
cpe:2.3:a:putty:putty:*:*:*:*:*:*:*:*
|
— |
0.80
|
|
Filezilla-Project Filezilla_Client
cpe:2.3:a:filezilla-project:filezilla_client:*:*:*:*:*:*:*:*
|
— |
3.66.4
|
|
Apple Macos
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*
|
— | — |
|
Panic Transmit_5
cpe:2.3:a:panic:transmit_5:*:*:*:*:*:*:*:*
|
— |
5.10.4
|
|
Apple Macos
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*
|
— | — |
|
Panic Nova
cpe:2.3:a:panic:nova:*:*:*:*:*:*:*:*
|
— |
11.8
|
|
Roumenpetrov Pkixssh
cpe:2.3:a:roumenpetrov:pkixssh:*:*:*:*:*:*:*:*
|
— |
14.4
|
|
Winscp Winscp
cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:*
|
— |
6.2.2
|
|
Bitvise Ssh_Client
cpe:2.3:a:bitvise:ssh_client:*:*:*:*:*:*:*:*
|
— |
9.33
|
|
Bitvise Ssh_Server
cpe:2.3:a:bitvise:ssh_server:*:*:*:*:*:*:*:*
|
— |
9.32
|
|
Lancom-Systems Lcos
cpe:2.3:o:lancom-systems:lcos:*:*:*:*:*:*:*:*
|
— |
<= 3.66.4
|
|
Lancom-Systems Lcos_Fx
cpe:2.3:o:lancom-systems:lcos_fx:-:*:*:*:*:*:*:*
|
— | — |
|
Lancom-Systems Lcos_Lx
cpe:2.3:o:lancom-systems:lcos_lx:-:*:*:*:*:*:*:*
|
— | — |
|
Lancom-Systems Lcos_Sx
cpe:2.3:o:lancom-systems:lcos_sx:4.20:*:*:*:*:*:*:*
|
— | — |
|
Lancom-Systems Lcos_Sx
cpe:2.3:o:lancom-systems:lcos_sx:5.20:*:*:*:*:*:*:*
|
— | — |
|
Lancom-Systems Lanconfig
cpe:2.3:o:lancom-systems:lanconfig:-:*:*:*:*:*:*:*
|
— | — |
|
Vandyke Securecrt
cpe:2.3:a:vandyke:securecrt:*:*:*:*:*:*:*:*
|
— |
9.4.3
|
|
Libssh Libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
|
— |
0.10.6
|
|
Net-Ssh Net-Ssh
cpe:2.3:a:net-ssh:net-ssh:7.2.0:*:*:*:*:ruby:*:*
|
— | — |
|
Ssh2_Project Ssh2
cpe:2.3:a:ssh2_project:ssh2:*:*:*:*:*:node.js:*:*
|
— |
<= 1.11.0
|
|
Proftpd Proftpd
cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:*
|
— |
<= 1.3.8b
|
|
Freebsd Freebsd
cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
|
— |
<= 12.4
|
|
Crates Thrussh
cpe:2.3:a:crates:thrussh:*:*:*:*:*:*:*:*
|
— |
0.35.1
|
|
Tera_Term_Project Tera_Term
cpe:2.3:a:tera_term_project:tera_term:*:*:*:*:*:*:*:*
|
— |
<= 5.1
|
|
Oryx-Embedded Cyclone_Ssh
cpe:2.3:a:oryx-embedded:cyclone_ssh:*:*:*:*:*:*:*:*
|
— |
2.3.4
|
|
Crushftp Crushftp
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
|
— |
<= 10.6.0
|
|
Netsarang Xshell_7
cpe:2.3:a:netsarang:xshell_7:*:*:*:*:*:*:*:*
|
— |
build__0144
|
|
Paramiko Paramiko
cpe:2.3:a:paramiko:paramiko:*:*:*:*:*:*:*:*
|
— |
3.4.0
|
|
Redhat Openshift_Container_Platform
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openstack_Platform
cpe:2.3:a:redhat:openstack_platform:16.1:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openstack_Platform
cpe:2.3:a:redhat:openstack_platform:16.2:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openstack_Platform
cpe:2.3:a:redhat:openstack_platform:17.1:*:*:*:*:*:*:*
|
— | — |
|
Redhat Ceph_Storage
cpe:2.3:a:redhat:ceph_storage:6.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Serverless
cpe:2.3:a:redhat:openshift_serverless:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Gitops
cpe:2.3:a:redhat:openshift_gitops:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Pipelines
cpe:2.3:a:redhat:openshift_pipelines:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Developer_Tools_And_Services
cpe:2.3:a:redhat:openshift_developer_tools_and_services:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Data_Foundation
cpe:2.3:a:redhat:openshift_data_foundation:4.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Api_For_Data_Protection
cpe:2.3:a:redhat:openshift_api_for_data_protection:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Virtualization
cpe:2.3:a:redhat:openshift_virtualization:4:*:*:*:*:*:*:*
|
— | — |
|
Redhat Storage
cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Discovery
cpe:2.3:a:redhat:discovery:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Dev_Spaces
cpe:2.3:a:redhat:openshift_dev_spaces:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Cert-Manager_Operator_For_Red_Hat_Openshift
cpe:2.3:a:redhat:cert-manager_operator_for_red_hat_openshift:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Keycloak
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Jboss_Enterprise_Application_Platform
cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Single_Sign-On
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Advanced_Cluster_Security
cpe:2.3:a:redhat:advanced_cluster_security:3.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Advanced_Cluster_Security
cpe:2.3:a:redhat:advanced_cluster_security:4.0:*:*:*:*:*:*:*
|
— | — |
|
Golang Crypto
cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:*
|
— |
0.17.0
|
|
Russh_Project Russh
cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:*
|
— |
0.40.2
|
|
Sftpgo_Project Sftpgo
cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*
|
— |
2.5.6
|
|
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
|
— |
22.3.4.27
|
|
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
|
23.0
|
23.3.4.20
|
|
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
|
24.0
|
24.3.4.15
|
|
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
|
25.0
|
25.3.2.8
|
|
Erlang Erlang\/Otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
|
26.0
|
26.2.1
|
|
Matez Jsch
cpe:2.3:a:matez:jsch:*:*:*:*:*:*:*:*
|
— |
0.2.15
|
|
Libssh2 Libssh2
cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*
|
— |
1.11.1
|
|
Asyncssh_Project Asyncssh
cpe:2.3:a:asyncssh_project:asyncssh:*:*:*:*:*:*:*:*
|
— |
2.14.2
|
|
Dropbear_Ssh_Project Dropbear_Ssh
cpe:2.3:a:dropbear_ssh_project:dropbear_ssh:*:*:*:*:*:*:*:*
|
— |
2022.83
|
|
Jadaptive Maverick_Synergy_Java_Ssh_Api
cpe:2.3:a:jadaptive:maverick_synergy_java_ssh_api:*:*:*:*:*:*:*:*
|
— |
3.1.0-snapshot
|
|
Ssh Ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
|
— |
4.9.1.5
|
|
Ssh Ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
|
4.10
|
4.11.1.7
|
|
Ssh Ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
|
4.12
|
4.13.2.4
|
|
Ssh Ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
|
4.14
|
4.15.3.1
|
|
Ssh Ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
|
5.0
|
5.1.1
|
|
Thorntech Sftp_Gateway_Firmware
cpe:2.3:o:thorntech:sftp_gateway_firmware:*:*:*:*:*:*:*:*
|
— |
3.4.6
|
|
Netgate Pfsense_Plus
cpe:2.3:a:netgate:pfsense_plus:*:*:*:*:*:*:*:*
|
— |
<= 23.09.1
|
|
Netgate Pfsense_Ce
cpe:2.3:a:netgate:pfsense_ce:*:*:*:*:*:*:*:*
|
— |
<= 2.7.2
|
|
Crushftp Crushftp
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
|
— |
10.6.0
|
|
Connectbot Sshlib
cpe:2.3:a:connectbot:sshlib:*:*:*:*:*:*:*:*
|
— |
2.2.22
|
|
Apache Sshd
cpe:2.3:a:apache:sshd:*:*:*:*:*:*:*:*
|
— |
<= 2.11.0
|
|
Apache Sshj
cpe:2.3:a:apache:sshj:*:*:*:*:*:*:*:*
|
— |
<= 0.37.0
|
|
Tinyssh Tinyssh
cpe:2.3:a:tinyssh:tinyssh:*:*:*:*:*:*:*:*
|
— |
<= 20230101
|
|
Trilead Ssh2
cpe:2.3:a:trilead:ssh2:6401:*:*:*:*:*:*:*
|
— | — |
|
9bis Kitty
cpe:2.3:a:9bis:kitty:*:*:*:*:*:*:*:*
|
— |
<= 0.76.1.13
|
|
Gentoo Security
cpe:2.3:a:gentoo:security:-:*:*:*:*:*:*:*
|
— | — |
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:-:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
|
— | — |
|
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
|
— | — |
|
Apple Macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
|
14.0
|
14.4
|