Insecure Encryption Affecting ssh.net package, versions [2020.0.0,2020.0.2)
Snyk CVSS
Attack Complexity
High
User Interaction
Required
Confidentiality
High
Threat Intelligence
EPSS
0.14% (50th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DOTNET-SSHNET-2849638
- published 1 Jun 2022
- disclosed 1 Jun 2022
- credit yaumn-synacktiv
Introduced: 1 Jun 2022
CVE-2022-29245 Open this link in a new tabHow to fix?
Upgrade SSH.NET
to version 2020.0.2 or higher.
Overview
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism and with broad framework support.
Affected versions of this package are vulnerable to Insecure Encryption during the X25519 key exchange. The client’s private key is being generated with System.Random
, which is not a cryptographically secure random number generator.