CVE-2023-48795
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.
How to fix
- openbsd openssh9.6 or later
- putty putty0.80 or later
- filezilla-project filezilla_client3.66.4 or later
- panic transmit_55.10.4 or later
- panic nova11.8 or later
- roumenpetrov pkixssh14.4 or later
- winscp winscp6.2.2 or later
- bitvise ssh_client9.33 or later
- bitvise ssh_server9.32 or later
- vandyke securecrt9.4.3 or later
- libssh libssh0.10.6 or later
- crates thrussh0.35.1 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/
- debian.org/security/2023/dsa-5586
- debian.org/security/2023/dsa-5588
- security.gentoo.org/glsa/202312-16
- security.gentoo.org/glsa/202312-17
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YQLUQWLIHDB5QCXQEX7HXHAWMOKPP5O/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F7EYCFQCTSGJXWO3ZZ44MGKFC5HA7G3Y/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APYIXIQOVDCRWLHTGB4VYMAUIAQLKYJ3/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QI3EHAHABFQK7OABNCSF5GMYP6TONTI7/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KMZCVGUGJZZVDPCVDA7TEB22VUCNEXDD/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CAYYW35MUTNO65RVAELICTNZZFMT2XS/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openbsd openssh | v < 9.6 | 9.6 |
| putty putty | v < 0.80 | 0.80 |
| filezilla-project filezilla_client | v < 3.66.4 | 3.66.4 |
| panic transmit_5 | v < 5.10.4 | 5.10.4 |
| panic nova | v < 11.8 | 11.8 |
| roumenpetrov pkixssh | v < 14.4 | 14.4 |
| winscp winscp | v < 6.2.2 | 6.2.2 |
| bitvise ssh_client | v < 9.33 | 9.33 |
| bitvise ssh_server | v < 9.32 | 9.32 |
| lancom-systems lcos | v ≤ 3.66.4 | — |
| lancom-systems lcos_fx | No range specified | — |
| lancom-systems lcos_lx | No range specified | — |
| lancom-systems lcos_sx | 4.20, 5.20 | — |
| lancom-systems lanconfig | No range specified | — |
| vandyke securecrt | v < 9.4.3 | 9.4.3 |
| libssh libssh | v < 0.10.6 | 0.10.6 |
| net-ssh net-ssh | 7.2.0 | — |
| ssh2_project ssh2 | v ≤ 1.11.0 | — |
| proftpd proftpd | v ≤ 1.3.8b | — |
| freebsd freebsd | v ≤ 12.4 | — |
| crates thrussh | v < 0.35.1 | 0.35.1 |
| tera_term_project tera_term | v ≤ 5.1 | — |
| oryx-embedded cyclone_ssh | v < 2.3.4 | 2.3.4 |
| crushftp crushftp | v ≤ 10.6.0, v < 10.6.0 | 10.6.0 |
| netsarang xshell_7 | v < build__0144 | build__0144 |
| paramiko paramiko | v < 3.4.0 | 3.4.0 |
| redhat openshift_container_platform | 4.0 | — |
| redhat openstack_platform | 16.1, 16.2, 17.1 | — |
| redhat ceph_storage | 6.0 | — |
| redhat enterprise_linux | 8.0, 9.0 | — |
| redhat openshift_serverless | No range specified | — |
| redhat openshift_gitops | No range specified | — |
| redhat openshift_pipelines | No range specified | — |
| redhat openshift_developer_tools_and_services | No range specified | — |
| redhat openshift_data_foundation | 4.0 | — |
| redhat openshift_api_for_data_protection | No range specified | — |
| redhat openshift_virtualization | 4 | — |
| redhat storage | 3.0 | — |
| redhat discovery | No range specified | — |
| redhat openshift_dev_spaces | No range specified | — |
| redhat cert-manager_operator_for_red_hat_openshift | No range specified | — |
| redhat keycloak | No range specified | — |
| redhat jboss_enterprise_application_platform | 7.0 | — |
| redhat single_sign-on | 7.0 | — |
| redhat advanced_cluster_security | 3.0, 4.0 | — |
| golang crypto | v < 0.17.0 | 0.17.0 |
| russh_project russh | v < 0.40.2 | 0.40.2 |
| sftpgo_project sftpgo | v < 2.5.6 | 2.5.6 |
| erlang erlang\/otp | v < 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.1 | 22.3.4.27, 23.3.4.20, 24.3.4.15, 25.3.2.8, 26.2.1 |
| matez jsch | v < 0.2.15 | 0.2.15 |
| libssh2 libssh2 | v < 1.11.1 | 1.11.1 |
| asyncssh_project asyncssh | v < 2.14.2 | 2.14.2 |
| dropbear_ssh_project dropbear_ssh | v < 2022.83 | 2022.83 |
| jadaptive maverick_synergy_java_ssh_api | v < 3.1.0-snapshot | 3.1.0-snapshot |
| ssh ssh | v < 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.1 | 4.9.1.5, 4.11.1.7, 4.13.2.4, 4.15.3.1, 5.1.1 |
| thorntech sftp_gateway_firmware | v < 3.4.6 | 3.4.6 |
| netgate pfsense_plus | v ≤ 23.09.1 | — |
| netgate pfsense_ce | v ≤ 2.7.2 | — |
| connectbot sshlib | v < 2.2.22 | 2.2.22 |
| apache sshd | v ≤ 2.11.0 | — |
| apache sshj | v ≤ 0.37.0 | — |
| tinyssh tinyssh | v ≤ 20230101 | — |
| trilead ssh2 | 6401 | — |
| 9bis kitty | v ≤ 0.76.1.13 | — |
| gentoo security | No range specified | — |
| fedoraproject fedora | 38, 39 | — |
| debian debian_linux | 10.0 | — |
| apple macos | 14.0 ≤ v < 14.4 | 14.4 |
| russhcrates.io | v < 0.40.2 | 0.40.2 |
| golang.org/x/cryptoGo | 0.1.0 ≤ v < 0.17.0, v < 0.0.0-20231218163308-9d2ee975ef9f, v < 0.17.0 | 0.17.0, 0.0.0-20231218163308-9d2ee975ef9f |
| paramikoPyPI | 2.5.0 ≤ v < 3.4.0 | 3.4.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.