SCA: security update for SSH.NET (GHSA-72p8-v4hg-v45p)

medium Tenable Self-Hosted Container Security Plugin ID 411747

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- SSH.NET is a Secure Shell (SSH) library for .NET. In versions 2020.0.0 and 2020.0.1, during an `X25519`
key exchange, the client’s private key is generated with `System.Random`. `System.Random` is not a
cryptographically secure random number generator, it must therefore not be used for cryptographic
purposes. When establishing an SSH connection to a remote host, during the X25519 key exchange, the
private key is generated with a weak random number generator whose seed can be brute forced. This allows
an attacker who is able to eavesdrop on the communications to decrypt them. Version 2020.0.2 contains a
patch for this issue. As a workaround, one may disable support for `curve25519-sha256` and
`[email protected]` key exchange algorithms. (CVE-2022-29245)

See Also

https://github.com/advisories/GHSA-72p8-v4hg-v45p

Plugin Details

Severity: Medium

ID: 411747

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2022-29245

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/1/2022

Vulnerability Publication Date: 5/31/2022

Reference Information

CVE: CVE-2022-29245