Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-48795

ssh: Prefix truncation attack on Binary Packet Protocol (BPP)

Overview

Published
18 Dec 2023
Modified
15 Oct 2026
Medium CVE
7 Registry packages
561 OS packages
21 Linux distributions
Yes Fix available

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 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.

Source: OX vulnerability database

Severity

5.9 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-354

Affected packages · 7

Packages affected by CVE-2023-48795
EcosystemPackageVulnerableFixed in
Cargo (Rust) russh <0.40.2 0.40.2
Go golang.org/x/crypto <0.17.0 0.17.0
Julia LibSSH2_jll <1.11.3+0 1.11.3+0
Julia OpenSSH_jll <9.9.1+0 9.9.1+0
PyPI paramiko >=2.5.0, <3.4.0 3.4.0
Seal Go golang.org/x/crypto >=0.0.0-20211117183948-ae814b36b871-sp0, <0.0.0-20211117183948-ae814b36b871-sp3 0.0.0-20211117183948-ae814b36b871-sp3
Seal Go sealsecurity.io/golang.org/x/crypto >=0.0.0-20211117183948-ae814b36b871-sp1, <0.0.0-20211117183948-ae814b36b871-sp3 0.0.0-20211117183948-ae814b36b871-sp3

Open a package to see all its vulnerabilities.

Operating systems · 860 fixes

Azure Linux 1 release · 13 packages

fixed 13
libssh docker-buildx node-problem-detector libssh2 cert-manager kubevirt +7
Azure Linux fixes for CVE-2023-48795
ReleasePackageFixed in
3.0 libssh 0:0.10.6-1.azl3
3.0 docker-buildx 0:0.14.0-1.azl3
3.0 node-problem-detector 0:0.8.20-2.azl3
3.0 libssh2 0:1.11.1-1.azl3
3.0 cert-manager 0:1.12.12-1.azl3
3.0 kubevirt 0:1.2.0-9.azl3

7 more rows

Oracle Linux 3 releases · 22 packages

fixed 29
pam-ssh-agent-auth openssh udica libssh fuse-overlayfs crun +16
Oracle Linux fixes for CVE-2023-48795
ReleasePackageFixed in
7 pam-ssh-agent-auth 0.10.3-2.23.0.3.el7_9
7 pam-ssh-agent-auth 10:0.10.3-2.23.0.3.el7_9_fips
7 openssh +7 10:7.4p1-23.0.3.el7_9_fips
7 openssh +7 7.4p1-23.0.3.el7_9
8 pam-ssh-agent-auth 0.10.3-7.19.0.1.el8_9.2
8 udica 0.2.6-20.module+el8.9.0+90147+a4870853

23 more rows

Photon OS 2 releases · 5 packages

fixed 10
libssh libssh2 python3-paramiko erlang openssh
Photon OS fixes for CVE-2023-48795
ReleasePackageFixed in
4.0 libssh +2 0.10.6-1.ph4
4.0 libssh2 +1 1.11.0-2.ph4
4.0 python3-paramiko 2.10.3-5.ph4
4.0 erlang 26.2.5-1.ph4
4.0 openssh +3 8.9p1-13.ph4
5.0 libssh +2 0.10.6-1.ph5

4 more rows

Red Hat 6 releases · 63 packages

eol 3 affected 4 fixed 133 wont fix 1
heketi openshift atomic-openshift eap7-jgroups-kubernetes eap7-insights-java-client eap7-jboss-server-migration +57
Red Hat fixes for CVE-2023-48795
ReleasePackageFixed inAdvisory
heketi +4 eol —
7 openshift +1 affected —
7 atomic-openshift +36 eol —
7 eap7-jgroups-kubernetes 0:1.0.17-1.Final_redhat_00001.1.el7eap RHSA-2024:1674
7 eap7-insights-java-client +1 0:1.1.2-1.redhat_00001.1.el7eap RHSA-2024:1674
7 eap7-jboss-server-migration +2 0:1.10.0-35.Final_redhat_00034.1.el7eap RHSA-2024:1674

135 more rows

SUSE Linux Enterprise 3 releases · 10 packages

fixed 21
libssh-config libssh2-1 openssh jsch bouncycastle apache-sshd +4
SUSE Linux Enterprise fixes for CVE-2023-48795
ReleasePackageFixed inAdvisory
12.5 libssh-config +3 0.9.8-3.12.2 SUSE-SU-2024:0539-1
12.5 libssh2-1 +2 1.11.0-29.9.1 SUSE-SU-2023:4946-1
12.5 openssh +3 7.2p2-81.8.1 SUSE-SU-2023:4903-1
15.4 jsch 0.2.15-150200.11.13.1 SUSE-SU-2024:0327-1
15.4 libssh-config +3 0.9.8-150400.3.3.1 SUSE-SU-2024:0140-1
15.4 libssh2-1 +1 1.11.0-150000.4.22.1 SUSE-SU-2024:0006-1

15 more rows

SUSE Linux Enterprise Micro 6 releases · 3 packages

fixed 16
libssh-config libssh2-1 openssh
SUSE Linux Enterprise Micro fixes for CVE-2023-48795
ReleasePackageFixed inAdvisory
5.1 libssh-config +1 0.9.8-150200.13.3.1 SUSE-SU-2024:0525-1
5.1 libssh2-1 1.11.0-150000.4.22.1 SUSE-SU-2024:0006-1
5.1 openssh +4 8.4p1-150300.3.27.1 SUSE-SU-2023:4902-1
5.2 libssh-config +1 0.9.8-150200.13.3.1 SUSE-SU-2024:0525-1
5.2 libssh2-1 1.11.0-150000.4.22.1 SUSE-SU-2024:0006-1
5.2 openssh +4 8.4p1-150300.3.27.1 SUSE-SU-2023:4902-1

10 more rows

alma 2 releases · 4 packages

fixed 6
pam-ssh-agent-auth libssh openssh buildah
alma fixes for CVE-2023-48795
ReleasePackageFixed in
8 pam-ssh-agent-auth 0.10.3-7.19.el8_9.2
8 libssh +2 0.9.6-13.el8_9
8 openssh +6 8.0p1-19.el8_9.2
9 pam-ssh-agent-auth 0.10.4-5.34.el9_3.3
9 buildah +1 1:1.31.4-1.el9_3
9 openssh +4 8.7p1-34.el9_3.3

alpine 4 releases · 20 packages

fixed 77
libssh podman-tui putty pijul doctl libssh2 +14
alpine fixes for CVE-2023-48795
ReleasePackageFixed in
3.22 libssh 0.10.6-r0
3.22 podman-tui 0.15.0-r0
3.22 putty 0.80-r0
3.22 pijul 1.0.0_beta8-r1
3.22 doctl 1.102.0-r0
3.22 libssh2 1.11.0-r1

71 more rows

amazon linux 1 release · 3 packages

fixed 3
pam-ssh-agent-auth libssh openssh
amazon linux fixes for CVE-2023-48795
ReleasePackageFixed in
2023 pam-ssh-agent-auth +1 0.10.4-4.8.amzn2023.0.9
2023 libssh +4 0.10.6-1.amzn2023.0.1
2023 openssh +8 8.7p1-8.amzn2023.0.9

chainguard 1 release · 174 packages

not affected 1 fixed 173
kube-oidc-proxy wireguard-go local-path-provisioner nats ollama fq +168
chainguard fixes for CVE-2023-48795
ReleasePackageFixed in
kube-oidc-proxy not affected
wireguard-go 0.0.20230223-r7
local-path-provisioner 0.0.26-r2
nats 0.1.1-r5
ollama 0.1.18-r0
fq 0.10.0-r0

168 more rows

debian 5 releases · 17 packages

affected 7 fixed 58
erlang putty phpseclib python-asyncssh openssh php-phpseclib +11
debian fixes for CVE-2023-48795
ReleasePackageFixed in
10 erlang +3 affected
10 putty 0.74-1+deb11u1~deb10u1
10 phpseclib 1.0.19-3~deb10u2
10 python-asyncssh 1.12.2-1+deb10u1
10 openssh 1:7.9p1-10+deb10u4
10 php-phpseclib 2.0.30-2~deb10u2

59 more rows

echo 1 release · 17 packages

affected 1 fixed 16
trilead-ssh2 libssh putty proftpd-mod-proxy phpseclib libssh2 +11
echo fixes for CVE-2023-48795
ReleasePackageFixed in
trilead-ssh2 affected
libssh 0.10.6-0+deb12u1
putty 0.78-2+deb12u1
proftpd-mod-proxy 0.9.2-1+deb12u1
phpseclib 1.0.20-1+deb12u1
libssh2 1.11.0-4

11 more rows

minimos 1 release · 2 packages

fixed 2
unoserver-rest-api terragrunt-atlantis-config
minimos fixes for CVE-2023-48795
ReleasePackageFixed in
unoserver-rest-api 0.8.3-r2
terragrunt-atlantis-config 1.20.0-r0

openSUSE 1 release · 27 packages

fixed 27
jsch-agent-proxy-connector-factory libssh-config jsch gitui putty libssh2-1 +21
openSUSE fixes for CVE-2023-48795
ReleasePackageFixed inAdvisory
Tumbleweed jsch-agent-proxy-connector-factory +7 0.0.9-1.1 openSUSE-SU-2024:13772-1
Tumbleweed libssh-config +3 0.10.6-1.1 openSUSE-SU-2024:13638-1
Tumbleweed jsch +2 0.2.15-1.1 openSUSE-SU-2024:13580-1
Tumbleweed gitui 0.26.2-1.1 openSUSE-SU-2024:13979-1
Tumbleweed putty 0.80-1.1 openSUSE-SU-2024:13518-1
Tumbleweed libssh2-1 +2 1.11.0-2.1 openSUSE-SU-2024:13522-1

21 more rows

openSUSE Leap 1 release · 1 package

fixed 1
cheat
openSUSE Leap fixes for CVE-2023-48795
ReleasePackageFixed inAdvisory
16.0 cheat 4.4.2-bp160.2.1 openSUSE-SU-2025:20177-1

openSUSE Leap Micro 2 releases · 3 packages

fixed 6
libssh-config libssh2-1 openssh
openSUSE Leap Micro fixes for CVE-2023-48795
ReleasePackageFixed inAdvisory
5.3 libssh-config +1 0.9.8-150400.3.3.1 SUSE-SU-2024:0140-1
5.3 libssh2-1 1.11.0-150000.4.22.1 SUSE-SU-2024:0006-1
5.3 openssh +4 8.4p1-150300.3.27.1 SUSE-SU-2023:4902-1
5.4 libssh-config +1 0.9.8-150400.3.3.1 SUSE-SU-2024:0140-1
5.4 libssh2-1 1.11.0-150000.4.22.1 SUSE-SU-2024:0006-1
5.4 openssh +4 8.4p1-150300.3.27.1 SUSE-SU-2023:4902-1

rocky 2 releases · 18 packages

fixed 88
pam-ssh-agent-auth libssh openssh toolbox fuse-overlayfs crun +12
rocky fixes for CVE-2023-48795
ReleasePackageFixed in
8 pam-ssh-agent-auth 0.10.3-7.19.el8_9.2
8 libssh +2 0.9.6-13.el8_9
8 openssh +6 8.0p1-19.el8_9.2
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1825+623b0c20.rocky.0.2
8 (container-tools:rhel8) toolbox +1 0.0.99.5-2.module+el8.10.0+1829+9bb2696f.rocky.0.2

82 more rows

root.io debian 3 releases · 3 packages

fixed 6
rootio-libssh rootio-openssh rootio-libssh2
root.io debian fixes for CVE-2023-48795
ReleasePackageFixed in
11 rootio-libssh 0.9.8-0+deb11u1
11 rootio-openssh 1:8.4p1-5+deb11u3
12 rootio-libssh 0.10.6-0+deb12u1
12 rootio-openssh 1:9.2p1-2+deb12u2
13 rootio-libssh2 1.11.0-4
13 rootio-openssh 1:9.6p1-1

seal Red Hat 2 releases · 3 packages

fixed 3
libssh2 openssh libssh
seal Red Hat fixes for CVE-2023-48795
ReleasePackageFixed in
7 libssh2 +1 1.8.0-4.el7_9.1+sp999
7 openssh +1 7.4p1-23.0.3.el7_9+sp999
8 libssh +1 0.9.6-14.el8+sp999

ubuntu 6 releases · 8 packages

fixed 29 affected 1
openssh dropbear lxd libssh python-asyncssh proftpd-dfsg +2
ubuntu fixes for CVE-2023-48795
ReleasePackageFixed in
18.04-ESM openssh 1:7.6p1-4ubuntu0.7+esm3
18.04-ESM dropbear 2017.75-3ubuntu0.1~esm1
18.04-ESM lxd 3.0.3-0ubuntu1~18.04.2+esm1
20.04 libssh 0.9.3-2ubuntu2.4
20.04 python-asyncssh 1.12.2-1ubuntu0.1
20.04 proftpd-dfsg 1.3.6c-2ubuntu0.1

24 more rows

wolfi 1 release · 125 packages

fixed 125
wireguard-go local-path-provisioner nats ollama fq helm-push +119
wolfi fixes for CVE-2023-48795
ReleasePackageFixed in
wireguard-go 0.0.20230223-r7
local-path-provisioner 0.0.26-r2
nats 0.1.1-r5
ollama 0.1.18-r0
fq 0.10.0-r0
helm-push 0.10.4-r2

119 more rows

References

Show all 208 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.