CVE-2023-48795
En bref
- Sévérité
- MEDIUM 5.9
- EPSS
- EPSS 93.55 % · centile 100 (2026-10-27)
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- mitre
- Statut NVD
- Modified
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.
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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 | CISA-ADP |
| 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 · 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) |
Faiblesses (CWE)
Avis
- GHSA-45x7-px36-x8w8 — Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin
- GO-2023-2402 — Man-in-the-middle attacker can compromise integrity of secure channel in golang.org/x/crypto
- PYSEC-2026-1758 — Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin
Références européennes
- ENISA EUVD · EUVD-2023-3093
- GCVE · GCVE-0-2023-48795
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1187 — Multiples vulnérabilités dans Oracle PeopleSoft · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0339 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0281 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0249 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0199 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0109 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0002 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1129 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1108 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0969 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0864 — Multiples vulnérabilités dans VMware Tanzu · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0756 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0622 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0538 — Multiples vulnérabilités dans VMware Tanzu · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0492 — Multiples vulnérabilités dans les produits Siemens · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0214 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0113 — Multiples vulnérabilités dans les produits Siemens · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0055 — Multiples vulnérabilités dans Oracle PeopleSoft · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0052 — Multiples vulnérabilités dans Oracle Database Server · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0958 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0940 — Multiples vulnérabilités dans les produits Moxa · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0878 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0741 — Multiples vulnérabilités dans Juniper Secure Analytics · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0657 — Multiples vulnérabilités dans les produits HPE Aruba Networking · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0650 — Multiples vulnérabilités dans Stormshield Management Center · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0646 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0630 — Multiples vulnérabilités dans IBM QRadar · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0620 — Multiples vulnérabilités dans les produits HPE Aruba Networking · cert.ssi.gouv.fr
- +22 autres
Configurations affectées (CPE NVD)
cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*< 9.6cpe:2.3:a:putty:putty:*:*:*:*:*:*:*:*< 0.80cpe:2.3:a:filezilla-project:filezilla_client:*:*:*:*:*:*:*:*< 3.66.4cpe:2.3:a:panic:transmit_5:*:*:*:*:*:*:*:*< 5.10.4cpe:2.3:a:panic:nova:*:*:*:*:*:*:*:*< 11.8cpe:2.3:a:roumenpetrov:pkixssh:*:*:*:*:*:*:*:*< 14.4cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:*< 6.2.2cpe:2.3:a:bitvise:ssh_client:*:*:*:*:*:*:*:*< 9.33cpe:2.3:a:bitvise:ssh_server:*:*:*:*:*:*:*:*< 9.32cpe:2.3:o:lancom-systems:lcos:*:*:*:*:*:*:*:*≤ 3.66.4cpe:2.3:o:lancom-systems:lcos_fx:-:*:*:*:*:*:*:*cpe:2.3:o:lancom-systems:lcos_lx:-:*:*:*:*:*:*:*cpe:2.3:o:lancom-systems:lcos_sx:4.20:*:*:*:*:*:*:*cpe:2.3:o:lancom-systems:lcos_sx:5.20:*:*:*:*:*:*:*cpe:2.3:o:lancom-systems:lanconfig:-:*:*:*:*:*:*:*cpe:2.3:a:vandyke:securecrt:*:*:*:*:*:*:*:*< 9.4.3cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*< 0.10.6cpe:2.3:a:net-ssh:net-ssh:7.2.0:*:*:*:*:ruby:*:*cpe:2.3:a:ssh2_project:ssh2:*:*:*:*:*:node.js:*:*≤ 1.11.0cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:*≤ 1.3.8bcpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*≤ 12.4cpe:2.3:a:crates:thrussh:*:*:*:*:*:*:*:*< 0.35.1cpe:2.3:a:tera_term_project:tera_term:*:*:*:*:*:*:*:*≤ 5.1cpe:2.3:a:oryx-embedded:cyclone_ssh:*:*:*:*:*:*:*:*< 2.3.4cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*≤ 10.6.0cpe:2.3:a:netsarang:xshell_7:*:*:*:*:*:*:*:*< build__0144cpe:2.3:a:paramiko:paramiko:*:*:*:*:*:*:*:*< 3.4.0cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack_platform:16.1:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack_platform:16.2:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack_platform:17.1:*:*:*:*:*:*:*cpe:2.3:a:redhat:ceph_storage:6.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_serverless:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_gitops:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_pipelines:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_developer_tools_and_services:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_data_foundation:4.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_api_for_data_protection:-:*:*:*:*:*:*:*- +43 autres
Produits affectés
| Produit | Versions |
|---|---|
| affected n/a |
Références
- https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
- https://matt.ucc.asn.au/dropbear/CHANGES
- https://github.com/proftpd/proftpd/blob/master/RELEASE_NOTES
- https://www.netsarang.com/en/xshell-update-history/
- https://www.paramiko.org/changelog.html
- https://www.openssh.com/openbsd.html
- https://github.com/openssh/openssh-portable/commits/master
- https://groups.google.com/g/golang-announce/c/-n5WqVC18LQ
- https://www.bitvise.com/ssh-server-version-history
- https://github.com/ronf/asyncssh/tags
- https://gitlab.com/libssh/libssh-mirror/-/tags
- https://www.reddit.com/r/sysadmin/comments/18idv52/cve202348795_why_is_this_cve_still_undisclosed/
- https://github.com/erlang/otp/blob/d1b43dc0f1361d2ad67601169e90a7fc50bb0369/lib/ssh/doc/src/notes.xml#L39-L42
- https://www.openssh.com/txt/release-9.6
- https://jadaptive.com/important-java-ssh-security-update-new-ssh-vulnerability-discovered-cve-2023-48795/
- https://www.terrapin-attack.com
- https://github.com/mkj/dropbear/blob/17657c36cce6df7716d5ff151ec09a665382d5dd/CHANGES#L25
- https://github.com/ronf/asyncssh/blob/develop/docs/changes.rst
- https://thorntech.com/cve-2023-48795-and-sftp-gateway/
- https://github.com/warp-tech/russh/releases/tag/v0.40.2
- https://github.com/TeraTermProject/teraterm/commit/7279fbd6ef4d0c8bdd6a90af4ada2899d786eec0
- https://www.openwall.com/lists/oss-security/2023/12/18/2
- https://twitter.com/TrueSkrillor/status/1736774389725565005
- https://github.com/golang/crypto/commit/9d2ee975ef9fe627bf0a6f01c1f69e8ef1d4f05d
- https://github.com/paramiko/paramiko/issues/2337
- https://groups.google.com/g/golang-announce/c/qA3XtxvMUyg
- https://news.ycombinator.com/item?id=38684904
- https://news.ycombinator.com/item?id=38685286
- http://www.openwall.com/lists/oss-security/2023/12/18/3
- https://github.com/mwiede/jsch/issues/457
- https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.10&id=10e09e273f69e149389b3e0e5d44b8c221c2e7f6
- https://github.com/erlang/otp/releases/tag/OTP-26.2.1
- https://github.com/advisories/GHSA-45x7-px36-x8w8
- https://security-tracker.debian.org/tracker/source-package/libssh2
- https://security-tracker.debian.org/tracker/source-package/proftpd-dfsg
- https://security-tracker.debian.org/tracker/CVE-2023-48795
- https://bugzilla.suse.com/show_bug.cgi?id=1217950
- https://bugzilla.redhat.com/show_bug.cgi?id=2254210
- https://bugs.gentoo.org/920280
- https://ubuntu.com/security/CVE-2023-48795
- https://www.suse.com/c/suse-addresses-the-ssh-v2-protocol-terrapin-attack-aka-cve-2023-48795/
- https://access.redhat.com/security/cve/cve-2023-48795
- https://github.com/mwiede/jsch/pull/461
- https://github.com/drakkan/sftpgo/releases/tag/v2.5.6
- https://github.com/libssh2/libssh2/pull/1291
- https://forum.netgate.com/topic/184941/terrapin-ssh-attack
- https://github.com/jtesta/ssh-audit/commit/8e972c5e94b460379fe0c7d20209c16df81538a5
- https://github.com/rapier1/hpn-ssh/releases
- https://github.com/proftpd/proftpd/issues/456
- https://github.com/TeraTermProject/teraterm/releases/tag/v5.1
- +89 autres
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |