CVE-2023-48795

Medium

Description

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 [email protected] and (if CBC is used) the [email protected] 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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductOpenbsd Openssh
PublishedDec 18, 2023
First seenDec 18, 2023
Weakness typeCWE-354CWE-354

How to fix

Affected products

ProductAffected versionsFixed in
openbsd opensshv < 9.69.6
putty puttyv < 0.800.80
filezilla-project filezilla_clientv < 3.66.43.66.4
panic transmit_5v < 5.10.45.10.4
panic novav < 11.811.8
roumenpetrov pkixsshv < 14.414.4
winscp winscpv < 6.2.26.2.2
bitvise ssh_clientv < 9.339.33
bitvise ssh_serverv < 9.329.32
lancom-systems lcosv ≤ 3.66.4—
lancom-systems lcos_fxNo range specified—
lancom-systems lcos_lxNo range specified—
lancom-systems lcos_sx4.20, 5.20—
lancom-systems lanconfigNo range specified—
vandyke securecrtv < 9.4.39.4.3
libssh libsshv < 0.10.60.10.6
net-ssh net-ssh7.2.0—
ssh2_project ssh2v ≤ 1.11.0—
proftpd proftpdv ≤ 1.3.8b—
freebsd freebsdv ≤ 12.4—
crates thrusshv < 0.35.10.35.1
tera_term_project tera_termv ≤ 5.1—
oryx-embedded cyclone_sshv < 2.3.42.3.4
crushftp crushftpv ≤ 10.6.0, v < 10.6.010.6.0
netsarang xshell_7v < build__0144build__0144
paramiko paramikov < 3.4.03.4.0
redhat openshift_container_platform4.0—
redhat openstack_platform16.1, 16.2, 17.1—
redhat ceph_storage6.0—
redhat enterprise_linux8.0, 9.0—
redhat openshift_serverlessNo range specified—
redhat openshift_gitopsNo range specified—
redhat openshift_pipelinesNo range specified—
redhat openshift_developer_tools_and_servicesNo range specified—
redhat openshift_data_foundation4.0—
redhat openshift_api_for_data_protectionNo range specified—
redhat openshift_virtualization4—
redhat storage3.0—
redhat discoveryNo range specified—
redhat openshift_dev_spacesNo range specified—
redhat cert-manager_operator_for_red_hat_openshiftNo range specified—
redhat keycloakNo range specified—
redhat jboss_enterprise_application_platform7.0—
redhat single_sign-on7.0—
redhat advanced_cluster_security3.0, 4.0—
golang cryptov < 0.17.00.17.0
russh_project russhv < 0.40.20.40.2
sftpgo_project sftpgov < 2.5.62.5.6
erlang erlang\/otpv < 22.3.4.27, 23.0 ≤ v < 23.3.4.20, 24.0 ≤ v < 24.3.4.15, 25.0 ≤ v < 25.3.2.8, 26.0 ≤ v < 26.2.122.3.4.27, 23.3.4.20, 24.3.4.15, 25.3.2.8, 26.2.1
matez jschv < 0.2.150.2.15
libssh2 libssh2v < 1.11.11.11.1
asyncssh_project asyncsshv < 2.14.22.14.2
dropbear_ssh_project dropbear_sshv < 2022.832022.83
jadaptive maverick_synergy_java_ssh_apiv < 3.1.0-snapshot3.1.0-snapshot
ssh sshv < 4.9.1.5, 4.10 ≤ v < 4.11.1.7, 4.12 ≤ v < 4.13.2.4, 4.14 ≤ v < 4.15.3.1, 5.0 ≤ v < 5.1.14.9.1.5, 4.11.1.7, 4.13.2.4, 4.15.3.1, 5.1.1
thorntech sftp_gateway_firmwarev < 3.4.63.4.6
netgate pfsense_plusv ≤ 23.09.1—
netgate pfsense_cev ≤ 2.7.2—
connectbot sshlibv < 2.2.222.2.22
apache sshdv ≤ 2.11.0—
apache sshjv ≤ 0.37.0—
tinyssh tinysshv ≤ 20230101—
trilead ssh26401—
9bis kittyv ≤ 0.76.1.13—
gentoo securityNo range specified—
fedoraproject fedora38, 39—
debian debian_linux10.0—
apple macos14.0 ≤ v < 14.414.4
russhcrates.iov < 0.40.20.40.2
golang.org/x/cryptoGo0.1.0 ≤ v < 0.17.0, v < 0.0.0-20231218163308-9d2ee975ef9f, v < 0.17.00.17.0, 0.0.0-20231218163308-9d2ee975ef9f
paramikoPyPI2.5.0 ≤ v < 3.4.03.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.