---
title: "CVE-2022-29245: sshnet SSH.NET Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2022-29245: sshnet SSH.NET Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2022-29245 is a published software vulnerability affecting sshnet SSH.NET. CVSS base score: 6.5 (MEDIUM). Published May 31, 2022 by GitHub\_M. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2022-29245
- Status: Published
- Affected vendor: sshnet
- Affected product: SSH.NET
- Assigner CNA: GitHub\_M
- Published date: May 31, 2022
- Last updated: April 22, 2025
- CVSS base score: 6.5 (MEDIUM)
- CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weakness (CWE): CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Urgent care clinics in the United States](https://specstream.ai/data/businesses/urgent-care-clinics/united-states)
- [Wholesale florists in the United States](https://specstream.ai/data/businesses/wholesale-florists/united-states)
- [Animation studios in the United States](https://specstream.ai/data/businesses/animation-studios/united-states)
- [B2B advertising and marketing companies in the United States](https://specstream.ai/data/businesses/b2b-advertising-and-marketing-companies/united-states)
- [Banks and credit unions in the United States](https://specstream.ai/data/businesses/banks-and-credit-unions/united-states)
- [Building contractors in the United States](https://specstream.ai/data/businesses/building-contractors/united-states)
