Critical Vulnerabilities in python-asyncssh: Potential SSH Session Compromise

python-asyncssh Updated 03 Oct 2025

Summary

12/12/2024
N/A
Yes i
Unrated
Not published

USN-7108-2: python-asyncssh vulnerabilities. Affects python-asyncssh versions < 1.11.1-1ubuntu0.1~esm2. Fixed in 1.11.1-1ubuntu0.1~esm2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

python-asyncssh is a Python library that provides an implementation of the SSH protocol, allowing secure communication over unsecured networks. It is widely used for remote server management and secure file transfers. However, recent vulnerabilities have been identified that could allow attackers to exploit weaknesses in the library's handling of authentication messages, potentially compromising SSH sessions.

Vulnerability Detail

The vulnerabilities identified in python-asyncssh stem from improper handling of extension info messages and user authentication request messages. Discovered by researchers Fabian Bäumer, Marcus Brinkmann, and Jörg Schwenk, these issues could allow an attacker to intercept communications and downgrade authentication algorithms (CVE-2023-46445) or manipulate SSH client sessions through packet injection (CVE-2023-46446). This could lead to unauthorized access and control over remote systems.

How To Fix

Minimum fixed version

1.11.1-1ubuntu0.1~esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-asyncssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users should consider limiting access to SSH services and implementing additional security measures such as using VPNs or firewalls to restrict unauthorized access while awaiting the patch.

Conclusion

The vulnerabilities in python-asyncssh pose significant risks to secure communications over SSH. It is crucial for users to update to the patched version to mitigate these risks and ensure the integrity of their systems. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for python-asyncssh →

Share this vulnerability

FAQ

The main vulnerabilities involve improper handling of extension info messages and user authentication requests, which could allow attackers to downgrade authentication methods or inject malicious packets.

You can use Vulert, which monitors open-source vulnerabilities in real-time. By uploading your manifest file like package-lock.json to the Vulert playground, you can check for vulnerabilities without any signup.

Failing to address these vulnerabilities could lead to unauthorized access to SSH sessions, allowing attackers to control remote systems and potentially compromise sensitive data.

Yes, temporarily limit SSH access and use additional security measures such as VPNs or firewalls to protect against unauthorized access.

Detailed information about the vulnerabilities can be found in the official advisory linked in the vulnerability report, as well as on security-focused platforms.

Related vulnerabilities

Recent vulnerabilities recorded for python-asyncssh.

How To Fix

Minimum fixed version

1.11.1-1ubuntu0.1~esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-asyncssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback