CVE-2023-46446
Medium · 6.8CVSS
6.8
EPSS
0.9%
Published
Nov 14, 2023
CISA due date
—
Cloudanix analysis
Attackers could silently take over an SSH connection and pretend to be the server, letting them see or change what the client does.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- High
- Impact
- Privilege Gain
- Component
- Library
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Allows attackers to inject or remove SSH packets and emulate shell behavior to seize control of the client side of an SSH session.
Why it matters to the business
Attackers can hijack interactive SSH sessions, potentially leading to unauthorized command execution, credential theft, or lateral movement inside environments that rely on AsyncSSH for automation or remote management.
How an attack unfolds
An attacker positioned on the network path performs packet injection or removal against an AsyncSSH client connection and uses shell emulation to impersonate the server, ultimately gaining control of the client session.
How to fix it
Upgrade ronf/asyncssh to the fixed commit 0d6de9aec1a81a4f6ff7400c24b699eb6137fba3 (equivalent to version 2.14.1 or newer).
How to confirm the fix worked
Verify the installed AsyncSSH version or commit hash matches or exceeds the fixed revision; re-test SSH client connections for proper session termination behavior.
Typical attack path
- Establish network position to observe or intercept SSH traffic
- Inject or strip selected packets to disrupt normal protocol state
- Emulate legitimate shell responses to maintain the illusion of a valid server
- Issue commands or capture input from the client once session control is obtained
How to detect it
Inspect network captures and SSH client logs for unexpected packet sequences, abrupt session state changes, or shell output that does not match server behavior.
What your security team should do
- Apply the fixed commit immediately in all environments using AsyncSSH clients
- Review network segmentation and encryption requirements for SSH traffic
- Add version pinning and dependency scanning to CI pipelines to prevent regression
The record
An issue in AsyncSSH before 2.14.1 allows attackers to control the remote end of an SSH client session via packet injection/removal and shell emulation, aka a "Rogue Session Attack."
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | asyncssh | 0 | 2.14.1 |
| Debian:11 | python-asyncssh | 0 | 2.5.0-0.1+deb11u1 |
| Debian:12 | python-asyncssh | 0 | No fix |
| Debian:13 | python-asyncssh | 0 | 2.15.0-1 |
| Ubuntu:16.04:LTS | python-asyncssh | 0 | No fix |
| Ubuntu:20.04:LTS | python-asyncssh | 0 | No fix |
| Ubuntu:20.04:LTS | python-asyncssh | 0 | 1.12.2-1ubuntu0.2 |
| Ubuntu:22.04:LTS | python-asyncssh | 0 | No fix |
| Ubuntu:22.04:LTS | python-asyncssh | 0 | 2.5.0-1ubuntu0.1 |
| Ubuntu:24.04:LTS | python-asyncssh | 0 | No fix |
| Ubuntu:24.10 | python-asyncssh | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | python-asyncssh | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | python-asyncssh | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | python-asyncssh | 0 | 1.11.1-1ubuntu0.1~esm2 |
| Ubuntu:Pro:24.04:LTS | python-asyncssh | 0 | 2.10.1-2ubuntu0.1+esm1 |
Related vulnerabilities
- CVE-2023-46445 An issue in AsyncSSH before 2.14.1 allows attackers to control the extension info message… Also affects asyncssh
- CVE-2026-63401 Coop is an open source review and moderation tool from ROOST. CWE-639
- CVE-2026-63338 IXP Manager is a full-stack web application for managing Internet Exchange Points. CWE-639
- CVE-2026-62277 LubeLogger is a self-hosted, open-source, web-based vehicle maintenance and fuel mileage… CWE-639
- CVE-2026-62991 Shopper is a Headless e-commerce Admin Panel. CWE-639
- CVE-2026-119329 Immich is a high-performance self-hosted photo and video management solution. CWE-639
- CVE-2026-116239 In server mode pgAdmin 4 keeps an account per authentication source, so the same username… CWE-639
- CVE-2026-120007 NodeBB 1.18.0 through 4.16.5 contains an authorization bypass vulnerability that allows… CWE-639