1. Archivio CVE
  2. 2023
  3. CVE-2023-48795

CVE-2023-48795

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N 5.9 – Media

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
9bis kitty <= 0.76.1.13 –
apache sshd <= 2.11.0 –
apache sshj <= 0.37.0 –
apple macos >= 14.0 < 14.4 –
asyncssh project asyncssh < 2.14.2 –
bitvise ssh client < 9.33 –
bitvise ssh server < 9.32 –
connectbot sshlib < 2.2.22 –
crates thrussh < 0.35.1 –
crushftp crushftp <= 10.6.0 –
crushftp crushftp < 10.6.0 –
debian debian linux 10.0 –
dropbear ssh project dropbear ssh < 2022.83 –
erlang erlang/otp < 22.3.4.27 –
erlang erlang/otp >= 23.0 < 23.3.4.20 –
erlang erlang/otp >= 24.0 < 24.3.4.15 –
erlang erlang/otp >= 25.0 < 25.3.2.8 –
erlang erlang/otp >= 26.0 < 26.2.1 –
fedoraproject fedora 38 –
fedoraproject fedora 39 –
filezilla-project filezilla client < 3.66.4 –
freebsd freebsd <= 12.4 –
gentoo security tutte –
golang crypto < 0.17.0 –
jadaptive maverick synergy java ssh api < 3.1.0-snapshot –
lancom-systems lanconfig tutte –
lancom-systems lcos <= 3.66.4 –
lancom-systems lcos fx tutte –
lancom-systems lcos lx tutte –
lancom-systems lcos sx 4.20 –
lancom-systems lcos sx 5.20 –
libssh libssh < 0.10.6 –
libssh2 libssh2 < 1.11.1 –
matez jsch < 0.2.15 –
net-ssh net-ssh 7.2.0 ruby
netgate pfsense ce <= 2.7.2 –
netgate pfsense plus <= 23.09.1 –
netsarang xshell 7 < build__0144 –
openbsd openssh < 9.6 –
oryx-embedded cyclone ssh < 2.3.4 –
panic nova < 11.8 –
panic transmit 5 < 5.10.4 –
paramiko paramiko < 3.4.0 –
proftpd proftpd <= 1.3.8b –
putty putty < 0.80 –
redhat advanced cluster security 3.0 –
redhat advanced cluster security 4.0 –
redhat ceph storage 6.0 –
redhat cert-manager operator for red hat openshift tutte –
redhat discovery tutte –
redhat enterprise linux 8.0 –
redhat enterprise linux 9.0 –
redhat jboss enterprise application platform 7.0 –
redhat keycloak tutte –
redhat openshift api for data protection tutte –
redhat openshift container platform 4.0 –
redhat openshift data foundation 4.0 –
redhat openshift dev spaces tutte –
redhat openshift developer tools and services tutte –
redhat openshift gitops tutte –
redhat openshift pipelines tutte –
redhat openshift serverless tutte –
redhat openshift virtualization 4 –
redhat openstack platform 16.1 –
redhat openstack platform 16.2 –
redhat openstack platform 17.1 –
redhat single sign-on 7.0 –
redhat storage 3.0 –
roumenpetrov pkixssh < 14.4 –
russh project russh < 0.40.2 rust
sftpgo project sftpgo < 2.5.6 –
ssh ssh < 4.9.1.5 –
ssh ssh >= 4.10 < 4.11.1.7 –
ssh ssh >= 4.12 < 4.13.2.4 –
ssh ssh >= 4.14 < 4.15.3.1 –
ssh ssh >= 5.0 < 5.1.1 –
ssh2 project ssh2 <= 1.11.0 node.js
tera term project tera term <= 5.1 –
thorntech sftp gateway firmware < 3.4.6 –
tinyssh tinyssh <= 20230101 –
trilead ssh2 6401 –
vandyke securecrt < 9.4.3 –
winscp winscp < 6.2.2 –
Tutte le 81 vulnerabilità di Erlang/otp
Tutte le 23 vulnerabilità di Ssh
Tutte le 18 vulnerabilità di Crushftp

Tipo di vulnerabilità

CWE-354 Improper Validation of Integrity Check Value

The product does not validate or incorrectly validates the integrity check values or checksums of a message.

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Modificare i dati dell’applicazione, Altro
Integrità, Altro Altro
Non ripudio, Altro Nascondere le proprie attività, Altro

Come si previene

Sviluppo The protocol specification describes the algorithm used for calculating the checksum. It is then a matter of implementing the calculation and verifying that the calculated checksum and the received checksum match.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 203 CVE di tipo CWE-354, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org