Vulnerability in russh
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2023-48795 has been found in russh.
Data can be tampered with by attackers. CVSS score: 5.9/10.
What to do: upgrade russh to 0.40.2 or later.
If unsure, ask your IT team or search "russh CVE-2023-48795" on the vendor's site.
CVE-2023-48795 (russh) — CWE-354 / CVSS v3 5.9
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 0.40.2 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-354) exists in russh.
Check the vendor advisory for the affected versions of russh.
Severity: Medium (CVSS 5.9/10). Data can be tampered with by attackers.
Update to 0.40.2.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'russh' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'russh' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
russhを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade russh to 0.40.2ステージング環境で 0.40.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| rustrussh |
< 0.40.2→ 0.40.2 |
0.40.2 |
| pipparamiko |
< 3.4.0→ 3.4.0 |
3.4.0 |
| gogolang.org/x/crypto |
< 0.17.0→ 0.17.0 |
0.17.0 |
| crates.iorussh |
< 0.40.2→ 0.40.2 |
0.40.2 |
| PyPIparamiko |
≥ 2.5.0, < 3.4.0→ 3.4.0 |
3.4.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2023-48795 tinyssh, py3-paramiko, py3-asyncssh +18 more Fix available
- Debian DEBIAN-CVE-2023-48795 tinyssh, python-asyncssh, putty +13 more Fix available
- Ubuntu UBUNTU-CVE-2023-48795 python-asyncssh, proftpd-dfsg, paramiko +5 more Fix available
Original description The description as published by the source.
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 20230…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory security.gentoo.org
- advisory security.gentoo.org
- advisory security.netapp.com
- advisory debian.org
- advisory debian.org
- advisory freebsd.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package github.com
- package pypi.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- report bugzilla.redhat.com
- report bugzilla.suse.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- web packetstormsecurity.com
- web seclists.org
- web openwall.com
- web openwall.com
- web openwall.com
- web openwall.com
- web openwall.com
- web access.redhat.com
- web arstechnica.com
- web bugs.gentoo.org
- web crates.io
- web filezilla-project.org
- web forum.netgate.com
- web git.libssh.org
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web gitlab.com
- web groups.google.com
- web groups.google.com
- web help.panic.com
- web jadaptive.com
- web lists.debian.org
- web lists.debian.org
- web lists.debian.org
- web lists.debian.org
- web matt.ucc.asn.au
- web nest.pijul.com
- web news.ycombinator.com
- web news.ycombinator.com
- web news.ycombinator.com
- web nova.app
- web oryx-embedded.com
- web psirt.global.sonicwall.com
- web roumenpetrov.info
- web security-tracker.debian.org
- web security-tracker.debian.org
- web security-tracker.debian.org
- web security-tracker.debian.org
- web support.apple.com
- web thorntech.com
- web twitter.com
- web ubuntu.com
- web winscp.net
- web bitvise.com
- web bitvise.com
- web chiark.greenend.org.uk
- web crushftp.com
- web lancom-systems.de
- web netsarang.com
- web openssh.com
- web openssh.com
- web openwall.com
- web openwall.com
- web paramiko.org
- web reddit.com
- web suse.com
- web terrapin-attack.com
- web theregister.com
- web vandyke.com
- web lists.debian.org
- web lists.debian.org
- web lists.debian.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web vicarius.io
- web vicarius.io
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web cert-portal.siemens.com
- web github.com
- web github.com
- web go.dev
- web go.dev
- web github.com
- web arstechnica.com
- web help.panic.com
- web jadaptive.com
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web security.netapp.com
- web thorntech.com
- web netsarang.com
- web reddit.com
- web suse.com
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org