Vulnerability · Published Dec 18, 2023 · Assigned by mitre

CVE-2023-48795

Medium 5.9

In plain English

A medium-severity security flaw in the buildah package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 93.5% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)93.5%top 0.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Nuclei, Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9buildah1:1.31.4-1.el9_3ALSA-2024:1150
AlmaLinux:9buildah-tests1:1.31.4-1.el9_3ALSA-2024:1150
AlmaLinux:8libssh0.9.6-13.el8_9ALSA-2024:0628
AlmaLinux:8libssh-config0.9.6-13.el8_9ALSA-2024:0628
AlmaLinux:8libssh-devel0.9.6-13.el8_9ALSA-2024:0628
AlmaLinux:8openssh8.0p1-19.el8_9.2ALSA-2024:0606
AlmaLinux:9openssh8.7p1-34.el9_3.3ALSA-2024:1130
AlmaLinux:8openssh-askpass8.0p1-19.el8_9.2ALSA-2024:0606
AlmaLinux:9openssh-askpass8.7p1-34.el9_3.3ALSA-2024:1130
AlmaLinux:8openssh-cavs8.0p1-19.el8_9.2ALSA-2024:0606
AlmaLinux:8openssh-clients8.0p1-19.el8_9.2ALSA-2024:0606
AlmaLinux:9openssh-clients8.7p1-34.el9_3.3ALSA-2024:1130
AlmaLinux:8openssh-keycat8.0p1-19.el8_9.2ALSA-2024:0606
AlmaLinux:9openssh-keycat8.7p1-34.el9_3.3ALSA-2024:1130
AlmaLinux:8openssh-ldap8.0p1-19.el8_9.2ALSA-2024:0606
AlmaLinux:8openssh-server8.0p1-19.el8_9.2ALSA-2024:0606
AlmaLinux:9openssh-server8.7p1-34.el9_3.3ALSA-2024:1130
AlmaLinux:8pam_ssh_agent_auth0.10.3-7.19.el8_9.2ALSA-2024:0606
AlmaLinux:9pam_ssh_agent_auth0.10.4-5.34.el9_3.3ALSA-2024:1130
Alpine:v3.20buildah1.34.0-r1ALPINE-CVE-2023-48795
Alpine:v3.21buildah1.34.0-r1ALPINE-CVE-2023-48795
Alpine:v3.22buildah1.34.0-r1ALPINE-CVE-2023-48795
Alpine:v3.23buildah1.34.0-r1ALPINE-CVE-2023-48795
Alpine:v3.24buildah1.34.0-r1ALPINE-CVE-2023-48795
Alpine:v3.20doctl1.102.0-r0ALPINE-CVE-2023-48795
Alpine:v3.21doctl1.102.0-r0ALPINE-CVE-2023-48795
Alpine:v3.22doctl1.102.0-r0ALPINE-CVE-2023-48795
Alpine:v3.23doctl1.102.0-r0ALPINE-CVE-2023-48795
Alpine:v3.24doctl1.102.0-r0ALPINE-CVE-2023-48795
Alpine:v3.20dropbear2022.83-r4ALPINE-CVE-2023-48795
Alpine:v3.21dropbear2022.83-r4ALPINE-CVE-2023-48795
Alpine:v3.22dropbear2022.83-r4ALPINE-CVE-2023-48795
Alpine:v3.23dropbear2022.83-r4ALPINE-CVE-2023-48795
Alpine:v3.24dropbear2022.83-r4ALPINE-CVE-2023-48795
Alpine:v3.20erlang26.2.1-r0ALPINE-CVE-2023-48795
Alpine:v3.21erlang26.2.1-r0ALPINE-CVE-2023-48795
Alpine:v3.22erlang2626.2.1-r0ALPINE-CVE-2023-48795
Alpine:v3.20filezilla3.66.4-r0ALPINE-CVE-2023-48795
Alpine:v3.21filezilla3.66.4-r0ALPINE-CVE-2023-48795
Alpine:v3.22filezilla3.66.4-r0ALPINE-CVE-2023-48795
Alpine:v3.23filezilla3.66.4-r0ALPINE-CVE-2023-48795
Alpine:v3.24filezilla3.66.4-r0ALPINE-CVE-2023-48795
Alpine:v3.21forgejo1.21.3.0-r0ALPINE-CVE-2023-48795
Alpine:v3.22forgejo1.21.3.0-r0ALPINE-CVE-2023-48795
Alpine:v3.23forgejo1.21.3.0-r0ALPINE-CVE-2023-48795
Alpine:v3.24forgejo1.21.3.0-r0ALPINE-CVE-2023-48795
Alpine:v3.20gitea1.21.3-r0ALPINE-CVE-2023-48795
Alpine:v3.21gitea1.21.3-r0ALPINE-CVE-2023-48795
Alpine:v3.22gitea1.21.3-r0ALPINE-CVE-2023-48795
Alpine:v3.23gitea1.21.3-r0ALPINE-CVE-2023-48795
Alpine:v3.24gitea1.21.3-r0ALPINE-CVE-2023-48795
Alpine:v3.20k3s1.29.3.1-r0ALPINE-CVE-2023-48795
Alpine:v3.21k3s1.29.3.1-r0ALPINE-CVE-2023-48795
Alpine:v3.22k3s1.29.3.1-r0ALPINE-CVE-2023-48795
Alpine:v3.23k3s1.29.3.1-r0ALPINE-CVE-2023-48795
Alpine:v3.24k3s1.29.3.1-r0ALPINE-CVE-2023-48795
Alpine:v3.20libssh0.10.6-r0ALPINE-CVE-2023-48795
Alpine:v3.21libssh0.10.6-r0ALPINE-CVE-2023-48795
Alpine:v3.22libssh0.10.6-r0ALPINE-CVE-2023-48795
Alpine:v3.23libssh0.10.6-r0ALPINE-CVE-2023-48795
Alpine:v3.24libssh0.10.6-r0ALPINE-CVE-2023-48795
Alpine:v3.20libssh21.11.0-r1ALPINE-CVE-2023-48795
Alpine:v3.21libssh21.11.0-r1ALPINE-CVE-2023-48795
Alpine:v3.22libssh21.11.0-r1ALPINE-CVE-2023-48795
Alpine:v3.23libssh21.11.0-r1ALPINE-CVE-2023-48795
Alpine:v3.24libssh21.11.0-r1ALPINE-CVE-2023-48795
Alpine:v3.20nebula1.8.1-r0ALPINE-CVE-2023-48795
Alpine:v3.21nebula1.8.1-r0ALPINE-CVE-2023-48795
Alpine:v3.22nebula1.8.1-r0ALPINE-CVE-2023-48795
Alpine:v3.23nebula1.8.1-r0ALPINE-CVE-2023-48795
Alpine:v3.24nebula1.8.1-r0ALPINE-CVE-2023-48795
Alpine:v3.20openssh9.6_p1-r0ALPINE-CVE-2023-48795
Alpine:v3.21openssh9.6_p1-r0ALPINE-CVE-2023-48795
Alpine:v3.22openssh9.6_p1-r0ALPINE-CVE-2023-48795
Alpine:v3.23openssh9.6_p1-r0ALPINE-CVE-2023-48795
Alpine:v3.24openssh9.6_p1-r0ALPINE-CVE-2023-48795
Alpine:v3.20pijul1.0.0_beta8-r1ALPINE-CVE-2023-48795
Alpine:v3.21pijul1.0.0_beta8-r1ALPINE-CVE-2023-48795
Alpine:v3.22pijul1.0.0_beta8-r1ALPINE-CVE-2023-48795
Alpine:v3.23pijul1.0.0_beta8-r1ALPINE-CVE-2023-48795
Alpine:v3.24pijul1.0.0_beta8-r1ALPINE-CVE-2023-48795
Alpine:v3.20podman4.8.2-r1ALPINE-CVE-2023-48795
Alpine:v3.21podman4.8.2-r1ALPINE-CVE-2023-48795
Alpine:v3.22podman4.8.2-r1ALPINE-CVE-2023-48795
Alpine:v3.23podman4.8.2-r1ALPINE-CVE-2023-48795
Alpine:v3.24podman4.8.2-r1ALPINE-CVE-2023-48795
Alpine:v3.20podman-tui0.15.0-r0ALPINE-CVE-2023-48795
Alpine:v3.21podman-tui0.15.0-r0ALPINE-CVE-2023-48795
Alpine:v3.22podman-tui0.15.0-r0ALPINE-CVE-2023-48795
Alpine:v3.23podman-tui0.15.0-r0ALPINE-CVE-2023-48795
Alpine:v3.24podman-tui0.15.0-r0ALPINE-CVE-2023-48795
Alpine:v3.20proftpd1.3.8b-r0ALPINE-CVE-2023-48795
Alpine:v3.21proftpd1.3.8b-r0ALPINE-CVE-2023-48795
Alpine:v3.22proftpd1.3.8b-r0ALPINE-CVE-2023-48795
Alpine:v3.23proftpd1.3.8b-r0ALPINE-CVE-2023-48795
Alpine:v3.24proftpd1.3.8b-r0ALPINE-CVE-2023-48795
Alpine:v3.20putty0.80-r0ALPINE-CVE-2023-48795
Alpine:v3.21putty0.80-r0ALPINE-CVE-2023-48795
Alpine:v3.22putty0.80-r0ALPINE-CVE-2023-48795
Alpine:v3.23putty0.80-r0ALPINE-CVE-2023-48795
Alpine:v3.24putty0.80-r0ALPINE-CVE-2023-48795
Alpine:v3.20py3-asyncssh2.14.2-r0ALPINE-CVE-2023-48795
Alpine:v3.21py3-asyncssh2.14.2-r0ALPINE-CVE-2023-48795
Alpine:v3.22py3-asyncssh2.14.2-r0ALPINE-CVE-2023-48795
Alpine:v3.23py3-asyncssh2.14.2-r0ALPINE-CVE-2023-48795
Alpine:v3.24py3-asyncssh2.14.2-r0ALPINE-CVE-2023-48795
Alpine:v3.20py3-paramiko3.4.0-r0ALPINE-CVE-2023-48795
Alpine:v3.21py3-paramiko3.4.0-r0ALPINE-CVE-2023-48795
Alpine:v3.22py3-paramiko3.4.0-r0ALPINE-CVE-2023-48795
Alpine:v3.23py3-paramiko3.4.0-r0ALPINE-CVE-2023-48795
Alpine:v3.24py3-paramiko3.4.0-r0ALPINE-CVE-2023-48795
Alpine:v3.20tinyssh20230101-r3ALPINE-CVE-2023-48795
Alpine:v3.21tinyssh20230101-r3ALPINE-CVE-2023-48795
Alpine:v3.22tinyssh20230101-r3ALPINE-CVE-2023-48795
Alpine:v3.23tinyssh20230101-r3ALPINE-CVE-2023-48795
Alpine:v3.24tinyssh20230101-r3ALPINE-CVE-2023-48795
Debian:12dropbear2022.83-1+deb12u1DEBIAN-CVE-2023-48795
Debian:13dropbear2022.83-4DEBIAN-CVE-2023-48795
Debian:14dropbear2022.83-4DEBIAN-CVE-2023-48795
Debian:12erlang1:25.2.3+dfsg-1+deb12u1DSA-5906-1
Debian:12erlang1:25.2.3+dfsg-1+deb12u1DEBIAN-CVE-2023-48795
Debian:13erlang1:25.3.2.8+dfsg-1DEBIAN-CVE-2023-48795
Debian:14erlang1:25.3.2.8+dfsg-1DEBIAN-CVE-2023-48795
Debian:12filezilla3.63.0-1+deb12u3DEBIAN-CVE-2023-48795
Debian:13filezilla3.66.4-1DEBIAN-CVE-2023-48795
Debian:14filezilla3.66.4-1DEBIAN-CVE-2023-48795
Debian:12golang-go.cryptono fix listedDEBIAN-CVE-2023-48795
Debian:13golang-go.crypto1:0.17.0-1DEBIAN-CVE-2023-48795
Debian:14golang-go.crypto1:0.17.0-1DEBIAN-CVE-2023-48795
Debian:12libssh0.10.6-0+deb12u1DSA-5591-1
Debian:12libssh0.10.6-0+deb12u1DEBIAN-CVE-2023-48795
Debian:13libssh0.10.6-1DEBIAN-CVE-2023-48795
Debian:14libssh0.10.6-1DEBIAN-CVE-2023-48795
Debian:13libssh21.11.0-4DEBIAN-CVE-2023-48795
Debian:14libssh21.11.0-4DEBIAN-CVE-2023-48795
Debian:12openssh1:9.2p1-2+deb12u2DSA-5586-1
Debian:12openssh1:9.2p1-2+deb12u2DEBIAN-CVE-2023-48795
Debian:13openssh1:9.6p1-1DEBIAN-CVE-2023-48795
Debian:14openssh1:9.6p1-1DEBIAN-CVE-2023-48795
Debian:12paramikono fix listedDEBIAN-CVE-2023-48795
Debian:13paramiko3.4.0-1DEBIAN-CVE-2023-48795
Debian:14paramiko3.4.0-1DEBIAN-CVE-2023-48795
Debian:12php-phpseclib2.0.42-1+deb12u1DEBIAN-CVE-2023-48795
Debian:12php-phpseclib2.0.42-1+deb12u1DSA-5600-1
Debian:13php-phpseclib2.0.46-1DEBIAN-CVE-2023-48795
Debian:14php-phpseclib2.0.46-1DEBIAN-CVE-2023-48795
Debian:12php-phpseclib33.0.19-1+deb12u2DSA-5601-1
Debian:12php-phpseclib33.0.19-1+deb12u2DEBIAN-CVE-2023-48795
Debian:13php-phpseclib33.0.35-1DEBIAN-CVE-2023-48795
Debian:14php-phpseclib33.0.35-1DEBIAN-CVE-2023-48795
Debian:12phpseclib1.0.20-1+deb12u1DEBIAN-CVE-2023-48795
Debian:12phpseclib1.0.20-1+deb12u1DSA-5599-1
Debian:13phpseclib1.0.22-1DEBIAN-CVE-2023-48795
Debian:12proftpd-dfsg1.3.8+dfsg-4+deb12u3DEBIAN-CVE-2023-48795
Debian:13proftpd-dfsg1.3.8.b+dfsg-1DEBIAN-CVE-2023-48795
Debian:14proftpd-dfsg1.3.8.b+dfsg-1DEBIAN-CVE-2023-48795
Debian:12proftpd-mod-proxy0.9.2-1+deb12u1DEBIAN-CVE-2023-48795
Debian:13proftpd-mod-proxy0.9.3-1DEBIAN-CVE-2023-48795
Debian:14proftpd-mod-proxy0.9.3-1DEBIAN-CVE-2023-48795
Debian:12putty0.78-2+deb12u1DEBIAN-CVE-2023-48795
Debian:12putty0.78-2+deb12u1DSA-5588-1
Debian:13putty0.80-1DEBIAN-CVE-2023-48795
Debian:14putty0.80-1DEBIAN-CVE-2023-48795
Debian:12python-asyncssh2.10.1-2+deb12u1DEBIAN-CVE-2023-48795
Debian:12python-asyncssh2.10.1-2+deb12u1DSA-5750-1
Debian:13python-asyncssh2.15.0-1DEBIAN-CVE-2023-48795
Debian:14python-asyncssh2.15.0-1DEBIAN-CVE-2023-48795
Debian:12tinysshno fix listedDEBIAN-CVE-2023-48795
Debian:13tinyssh20230101-4DEBIAN-CVE-2023-48795
Debian:14tinyssh20230101-4DEBIAN-CVE-2023-48795
Debian:12trilead-ssh2no fix listedDEBIAN-CVE-2023-48795
Debian:13trilead-ssh2no fix listedDEBIAN-CVE-2023-48795
Debian:14trilead-ssh2no fix listedDEBIAN-CVE-2023-48795
Gogolang.org/x/crypto0.0.0-20231218163308-9d2ee975ef9fGHSA-45x7-px36-x8w8
Gogolang.org/x/crypto0.17.0GHSA-45x7-px36-x8w8
Gogolang.org/x/crypto0.17.0GO-2023-2402
PyPIparamiko3.4.0GHSA-45x7-px36-x8w8
PyPIparamiko3.4.0PYSEC-2026-1758
Rocky Linux:8aardvark-dns2:1.10.0-1.module+el8.10.0+1843+6892ab28RLSA-2024:2988
Rocky Linux:8aardvark-dns2:1.10.0-1.module+el8.10.0+1872+2e18eb19RLSA-2024:2988
Rocky Linux:8aardvark-dns2:1.10.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2988
Rocky Linux:8aardvark-dns2:1.10.0-1.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1880+8e896d1bRLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1896+b18fa106RLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1948+4b5cd4a9RLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2988
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2024:2988
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1872+2e18eb19RLSA-2024:2988
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1880+8e896d1bRLSA-2024:2988
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:2988
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1896+b18fa106RLSA-2024:2988
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1948+4b5cd4a9RLSA-2024:2988
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1843+6892ab28RLSA-2024:2988
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1874+ce489889RLSA-2024:2988
Rocky Linux:8container-selinux2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:2988
Rocky Linux:8container-selinux2:2.229.0-2.module+el8.10.0+1825+623b0c20RLSA-2024:2988
Rocky Linux:8container-selinux2:2.229.0-2.module+el8.10.0+1843+6892ab28RLSA-2024:2988

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-354 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

References