Security mailing lists by PureSourceCode

CVE-2023-48795

MEDIUM 5.9CVSS 3.1

Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin

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.

Published
18 Dec 2023
Last modified
15 Oct 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-345CWE-354
Also known as
GHSA-45x7-px36-x8w8GO-2023-2402PYSEC-2026-1758
Sources
NVDJSONOSV GHSA-45x7-px36-x8w8JSONOSV GO-2023-2402JSONOSV PYSEC-2026-1758JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openbsd openssh
cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
< 9.6 9.6
NVD putty putty
cpe:2.3:a:putty:putty:*:*:*:*:*:*:*:*
< 0.80 0.80
NVD filezilla-project filezilla_client
cpe:2.3:a:filezilla-project:filezilla_client:*:*:*:*:*:*:*:*
< 3.66.4 3.66.4
NVD panic transmit_5
cpe:2.3:a:panic:transmit_5:*:*:*:*:*:*:*:*
< 5.10.4 5.10.4
NVD panic nova
cpe:2.3:a:panic:nova:*:*:*:*:*:*:*:*
< 11.8 11.8
NVD roumenpetrov pkixssh
cpe:2.3:a:roumenpetrov:pkixssh:*:*:*:*:*:*:*:*
< 14.4 14.4
NVD winscp winscp
cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:*
< 6.2.2 6.2.2
NVD bitvise ssh_client
cpe:2.3:a:bitvise:ssh_client:*:*:*:*:*:*:*:*
< 9.33 9.33
NVD bitvise ssh_server
cpe:2.3:a:bitvise:ssh_server:*:*:*:*:*:*:*:*
< 9.32 9.32
NVD lancom-systems lcos
cpe:2.3:o:lancom-systems:lcos:*:*:*:*:*:*:*:*
<= 3.66.4
NVD lancom-systems lcos_fx
cpe:2.3:o:lancom-systems:lcos_fx:-:*:*:*:*:*:*:*
(no version)
NVD lancom-systems lcos_lx
cpe:2.3:o:lancom-systems:lcos_lx:-:*:*:*:*:*:*:*
(no version)
NVD lancom-systems lcos_sx
cpe:2.3:o:lancom-systems:lcos_sx:4.20:*:*:*:*:*:*:*
= 4.20
NVD lancom-systems lcos_sx
cpe:2.3:o:lancom-systems:lcos_sx:5.20:*:*:*:*:*:*:*
= 5.20
NVD lancom-systems lanconfig
cpe:2.3:o:lancom-systems:lanconfig:-:*:*:*:*:*:*:*
(no version)
NVD vandyke securecrt
cpe:2.3:a:vandyke:securecrt:*:*:*:*:*:*:*:*
< 9.4.3 9.4.3
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
< 0.10.6 0.10.6
NVD net-ssh net-ssh
cpe:2.3:a:net-ssh:net-ssh:7.2.0:*:*:*:*:ruby:*:*
= 7.2.0
NVD ssh2_project ssh2
cpe:2.3:a:ssh2_project:ssh2:*:*:*:*:*:node.js:*:*
<= 1.11.0
NVD proftpd proftpd
cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:*
<= 1.3.8b
NVD freebsd freebsd
cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
<= 12.4
NVD crates thrussh
cpe:2.3:a:crates:thrussh:*:*:*:*:*:*:*:*
< 0.35.1 0.35.1
NVD tera_term_project tera_term
cpe:2.3:a:tera_term_project:tera_term:*:*:*:*:*:*:*:*
<= 5.1
NVD oryx-embedded cyclone_ssh
cpe:2.3:a:oryx-embedded:cyclone_ssh:*:*:*:*:*:*:*:*
< 2.3.4 2.3.4
NVD crushftp crushftp
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
<= 10.6.0
NVD netsarang xshell_7
cpe:2.3:a:netsarang:xshell_7:*:*:*:*:*:*:*:*
< build__0144 build__0144
NVD paramiko paramiko
cpe:2.3:a:paramiko:paramiko:*:*:*:*:*:*:*:*
< 3.4.0 3.4.0
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat openstack_platform
cpe:2.3:a:redhat:openstack_platform:16.1:*:*:*:*:*:*:*
= 16.1
NVD redhat openstack_platform
cpe:2.3:a:redhat:openstack_platform:16.2:*:*:*:*:*:*:*
= 16.2
NVD redhat openstack_platform
cpe:2.3:a:redhat:openstack_platform:17.1:*:*:*:*:*:*:*
= 17.1
NVD redhat ceph_storage
cpe:2.3:a:redhat:ceph_storage:6.0:*:*:*:*:*:*:*
= 6.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD redhat openshift_serverless
cpe:2.3:a:redhat:openshift_serverless:-:*:*:*:*:*:*:*
(no version)
NVD redhat openshift_gitops
cpe:2.3:a:redhat:openshift_gitops:-:*:*:*:*:*:*:*
(no version)
NVD redhat openshift_pipelines
cpe:2.3:a:redhat:openshift_pipelines:-:*:*:*:*:*:*:*
(no version)
NVD redhat openshift_developer_tools_and_services
cpe:2.3:a:redhat:openshift_developer_tools_and_services:-:*:*:*:*:*:*:*
(no version)
NVD redhat openshift_data_foundation
cpe:2.3:a:redhat:openshift_data_foundation:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat openshift_api_for_data_protection
cpe:2.3:a:redhat:openshift_api_for_data_protection:-:*:*:*:*:*:*:*
(no version)
NVD redhat openshift_virtualization
cpe:2.3:a:redhat:openshift_virtualization:4:*:*:*:*:*:*:*
= 4
NVD redhat storage
cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:*
= 3.0
NVD redhat discovery
cpe:2.3:a:redhat:discovery:-:*:*:*:*:*:*:*
(no version)
NVD redhat openshift_dev_spaces
cpe:2.3:a:redhat:openshift_dev_spaces:-:*:*:*:*:*:*:*
(no version)
NVD redhat cert-manager_operator_for_red_hat_openshift
cpe:2.3:a:redhat:cert-manager_operator_for_red_hat_openshift:-:*:*:*:*:*:*:*
(no version)
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
(no version)
NVD redhat jboss_enterprise_application_platform
cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat advanced_cluster_security
cpe:2.3:a:redhat:advanced_cluster_security:3.0:*:*:*:*:*:*:*
= 3.0
NVD redhat advanced_cluster_security
cpe:2.3:a:redhat:advanced_cluster_security:4.0:*:*:*:*:*:*:*
= 4.0
NVD golang crypto
cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:*
< 0.17.0 0.17.0
NVD russh_project russh
cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:*
< 0.40.2 0.40.2
NVD sftpgo_project sftpgo
cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:*
< 2.5.6 2.5.6
NVD erlang erlang/otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
< 22.3.4.27 22.3.4.27
NVD erlang erlang/otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
>= 23.0, < 23.3.4.20 23.3.4.20
NVD erlang erlang/otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
>= 24.0, < 24.3.4.15 24.3.4.15
NVD erlang erlang/otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
>= 25.0, < 25.3.2.8 25.3.2.8
NVD erlang erlang/otp
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
>= 26.0, < 26.2.1 26.2.1
NVD matez jsch
cpe:2.3:a:matez:jsch:*:*:*:*:*:*:*:*
< 0.2.15 0.2.15
NVD libssh2 libssh2
cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:*
< 1.11.1 1.11.1
NVD asyncssh_project asyncssh
cpe:2.3:a:asyncssh_project:asyncssh:*:*:*:*:*:*:*:*
< 2.14.2 2.14.2
NVD dropbear_ssh_project dropbear_ssh
cpe:2.3:a:dropbear_ssh_project:dropbear_ssh:*:*:*:*:*:*:*:*
< 2022.83 2022.83
NVD jadaptive maverick_synergy_java_ssh_api
cpe:2.3:a:jadaptive:maverick_synergy_java_ssh_api:*:*:*:*:*:*:*:*
< 3.1.0-snapshot 3.1.0-snapshot
NVD ssh ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
< 4.9.1.5 4.9.1.5
NVD ssh ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
>= 4.10, < 4.11.1.7 4.11.1.7
NVD ssh ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
>= 4.12, < 4.13.2.4 4.13.2.4
NVD ssh ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
>= 4.14, < 4.15.3.1 4.15.3.1
NVD ssh ssh
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:*
>= 5.0, < 5.1.1 5.1.1
NVD thorntech sftp_gateway_firmware
cpe:2.3:o:thorntech:sftp_gateway_firmware:*:*:*:*:*:*:*:*
< 3.4.6 3.4.6
NVD netgate pfsense_plus
cpe:2.3:a:netgate:pfsense_plus:*:*:*:*:*:*:*:*
<= 23.09.1
NVD netgate pfsense_ce
cpe:2.3:a:netgate:pfsense_ce:*:*:*:*:*:*:*:*
<= 2.7.2
NVD crushftp crushftp
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
< 10.6.0 10.6.0
NVD connectbot sshlib
cpe:2.3:a:connectbot:sshlib:*:*:*:*:*:*:*:*
< 2.2.22 2.2.22
NVD apache sshd
cpe:2.3:a:apache:sshd:*:*:*:*:*:*:*:*
<= 2.11.0
NVD apache sshj
cpe:2.3:a:apache:sshj:*:*:*:*:*:*:*:*
<= 0.37.0
NVD tinyssh tinyssh
cpe:2.3:a:tinyssh:tinyssh:*:*:*:*:*:*:*:*
<= 20230101
NVD trilead ssh2
cpe:2.3:a:trilead:ssh2:6401:*:*:*:*:*:*:*
= 6401
NVD 9bis kitty
cpe:2.3:a:9bis:kitty:*:*:*:*:*:*:*:*
<= 0.76.1.13
NVD gentoo security
cpe:2.3:a:gentoo:security:-:*:*:*:*:*:*:*
(no version)
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD apple macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
>= 14.0, < 14.4 14.4
OSV crates.io russh < 0.40.2 0.40.2
OSV Go golang.org/x/crypto >= 0.1.0, < 0.17.0 0.17.0
OSV PyPI paramiko >= 2.5.0, < 3.4.0 3.4.0
OSV Go golang.org/x/crypto < 0.0.0-20231218163308-9d2ee975ef9f 0.0.0-20231218163308-9d2ee975ef9f
OSV Go golang.org/x/crypto < 0.17.0 0.17.0

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 18 Dec 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Dec 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Dec 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.