What is CVE-2023-48795?A medium-severity flaw in Net-SSH, explained.
CVE-2023-48795 is a medium-severity flaw (CVSS 5.9) in Net-SSH, published on 18 December 2023. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 94%. If you run an affected version, plan in the vendor’s fix.
Published 18 December 2023. Record last updated 3 November 2025. We keep this page's data up to date.
What is CVE-2023-48795? In plain terms.
It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can change data.
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.
What kind of flaw is it?
- CWE-354Improper Validation of Integrity Check Value
How an attack on it works
Read straight from its severity rating, translated out of the shorthand.
- Where an attacker can beAnywhere on the internet
- How hard it is to pull offHard: conditions must line up
- Login needed firstNo login needed
- Does someone have to clickNo, nobody has to do anything
- What an attacker getsCan change data
Severity vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Is CVE-2023-48795 being exploited? Not that we know of.
It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 94%. That can change at any time, which is why we keep watching.
Timeline
- Published
- Exploit likelihood jumped
- Exploit likelihood fell
- Record last updated
CVE-2023-48795 scores 64. Action: Plan remediation.
We keep the score of every published flaw up to date as the evidence changes. Four things go into the score, and evidence that criminals are actually using it counts most. In order:
- Evidence it is being exploitedBiggest factor
- How severe it isStrong factor
- How widely exposed it isSmaller factor
- Threat activity around itSmaller factor
85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score.
When CVE-2023-48795 matches software you track, it lands in your list with its score and the reasons behind it.
See your own ranked list →Who is affected by CVE-2023-48795? 68 products.
The published record lists 68 products from 42 vendors. Versions are shown as published: "before 22.3.4.27" means every version up to, but not including, 22.3.4.27. If you run one of these, check your version, then go to the fix below.
- Application
Net-SSH
by Net-SSH
Affected versions7.2.0 - Application
Erlang/otp
by Erlang
Affected versionsbefore 22.3.4.2723.0 to before 23.3.4.2024.0 to before 24.3.4.1525.0 to before 25.3.2.826.0 to before 26.2.1 - Application
SSH
by SSH
Affected versionsbefore 4.9.1.54.10 to before 4.11.1.74.12 to before 4.13.2.44.14 to before 4.15.3.15.0 to before 5.1.1 - Application
Openstack Platform
by Red Hat
Affected versions16.116.217.1 - Application
Advanced Cluster Security
by Red Hat
Affected versions3.04.0 - Application
Crushftp
by Crushftp
Affected versionsup to 10.6.0before 10.6.0 - Operating system
Enterprise Linux
by Red Hat
Affected versions8.09.0 - Operating system
Fedora
Affected versions3839 - Operating system
Lcos Sx
Affected versions4.205.20
How do I fix CVE-2023-48795? Four steps.
- Check whether you run itCompare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
- Apply the vendor’s fixInstall the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
- If you can’t patch todayFollow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
- Keep an eye on itTrack the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.
References
50 links- Commit (opens in a new tab)libssh.org
- TeraTermProject/teraterm commit (opens in a new tab)github.com
- connectbot/sshlib commit (opens in a new tab)github.com
- erlang/otp file (opens in a new tab)github.com
- golang/crypto commit (opens in a new tab)github.com
- jtesta/ssh-audit commit (opens in a new tab)github.com
Does CVE-2023-48795 affect you? We'll keep checking.
Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.
- Tell us what you runPick your software from a list, or let us work it out from your website.
- We match it to every flawOver 400,000 published flaws, checked against your list.
- Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
- Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.
Free plan, no card needed. Nothing to install.
1 new flaw affects software Acme tracks
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity check...
- Matched to
- Net-SSH on Acme's software list
- What to do
- Plan in the vendor’s update
Sent to the alert recipients Acme chose. Also in the app and to Acme's webhook.
CVE-2023-48795 is a medium-severity flaw in Net-SSH, published on 18 December 2023. It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can change data.
It scores 5.9 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2023-48795 is 64 out of 100, which is Medium. Its action is "Plan remediation". Not confirmed as exploited yet, but serious or likely enough that it should not wait for a quiet month.
It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 94%. That can change at any time, which is why we keep watching.
For Net-SSH: 7.2.0. The record lists 68 products in all, each with its versions, under "Who is affected" on this page.
Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.