CVE-2022-45047 apache sshd
| Affected software | apache sshd |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 2.9.2 |
| Weakness | Deserialization of untrusted data (CWE-502) |
| Published | 16 Nov 2022 |
| Updated | 17 Jun 2026 |
Description
Class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider in Apache MINA SSHD <= 2.9.1 uses Java deserialization to load a serialized java.security.PrivateKey. The class is one of several implementations that an implementor using Apache MINA SSHD can choose for loading the host keys of an SSH server.
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: total.
- Indexed PoC 1 indexed, none at 5+ stars
- EPSS 4.7% chance in 30 days
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | POC,EXP,chatGPT for me | 2 | 2023-04-07 |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Deserialization, Process
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data. |
How to mitigate CVE-2022-45047
Upgrade apache sshd to 2.9.2 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CISA-ADP | Secondary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update April 2026 ↗ | CPU | 2026-Q2 | Oracle Fusion Middleware / Runtime Server (Apache Mina SSHD) (12.2.1.4.0) |
| Oracle Critical Patch Update January 2026 ↗ | CPU | 2026-Q1 | Oracle Analytics / Core (Apache Mina SSHD) (8.2.0.0.0) |
| Oracle Critical Patch Update April 2025 ↗ | CPU | 2025-Q2 | Oracle Enterprise Manager / Agent Next Gen (Apache Mina SSHD) (13.5.0.0.0, 24.1.0.0.0) |
| Oracle Critical Patch Update July 2023 ↗ | CPU | 2023-Q3 | Oracle Financial Services Applications / INFRA code (Apache Mina SSHD) (14.0-14.7) Oracle Financial Services Applications / Infra Code (Apache Mina SSHD) (14.5-14.7) Oracle Financial Services Applications / Infrastructure (Apache Mina SSHD) (14.0-14.3, 14.5-14.7) Oracle Financial Services Applications / Payments Core (Apache Mina SSHD) (14.5-14.7) Oracle Financial Services Applications / core module (Apache Mina SSHD) (14.0-14.3, 14.5-14.7) Oracle Fusion Middleware / General (Apache Mina SSHD) (12.2.1.4.0) |
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Communications / BEServer (Apache Mina SSHD) (22.1.0.0.0) Oracle Communications / BEServer (Apache Mina SSHD) (9.0.0, 9.0.1) Oracle Communications / BEServer (Apache Mina SSHD) (9.0.0, 9.0.1) Oracle Communications / Installation (Apache Mina SSHD) (22.3.1, 22.4.0) Oracle Fusion Middleware / Installer (Apache Mina SSHD) (12.2.1.4.0) Oracle PeopleSoft / Webserver (Apache Mina SSHD) (8.60) Oracle Retail Applications / Internal Operations (Apache Mina SSHD) (19.0.0.6) |
| Oracle Critical Patch Update January 2023 ↗ | CPU | 2023-Q1 | Oracle Fusion Middleware / End-User Documentation (Apache Mina SSHD) (14.1.1.0.0) Oracle Fusion Middleware / NextGen Installer issues (Apache Mina SSHD) (Prior to 13.9.4.2.11) Oracle Fusion Middleware / RDA - Remote Diagnostic Agent (Apache Mina SSHD) (12.2.1.4.0, 14.1.1.0.0) Oracle Support Tools / Diagnostic Assistant (Apache Mina SSHD) (2.12.43) Oracle Support Tools / RDA - Remote Diagnostic Agent (Apache MINA SSHD) (22.4.22.10.18) Oracle Support Tools / Services Tools Bundle (Apache Mina SSHD) (22.2.22.4.5) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Analytics | Core (Apache Mina SSHD) | 8.2.0.0.0 | 8.2.0.0.0 |
| Oracle Communications | BEServer (Apache Mina SSHD) | 9.0.0, 9.0.1 | 9.0.0 · 9.0.1 · 22.1.0.0.0 |
| Oracle Communications | Installation (Apache Mina SSHD) | 22.3.1, 22.4.0 | 22.3.1 · 22.4.0 |
| Oracle Enterprise Manager | Agent Next Gen (Apache Mina SSHD) | 13.5.0.0.0, 24.1.0.0.0 | 13.5.0.0.0 · 24.1.0.0.0 |
| Oracle Financial Services Applications | INFRA code (Apache Mina SSHD) | 14.0-14.7 | |
| Oracle Financial Services Applications | Infra Code (Apache Mina SSHD) | 14.5-14.7 | |
| Oracle Financial Services Applications | Infrastructure (Apache Mina SSHD) | 14.0-14.3, 14.5-14.7 | |
| Oracle Financial Services Applications | Payments Core (Apache Mina SSHD) | 14.5-14.7 | |
| Oracle Financial Services Applications | core module (Apache Mina SSHD) | 14.0-14.3, 14.5-14.7 | |
| Oracle Fusion Middleware | End-User Documentation (Apache Mina SSHD) | 14.1.1.0.0 | 14.1.1.0.0 |
| Oracle Fusion Middleware | General (Apache Mina SSHD) | 12.2.1.4.0 | 12.2.1.4.0 |
| Oracle Fusion Middleware | Installer (Apache Mina SSHD) | 12.2.1.4.0 | 12.2.1.4.0 |
| Oracle Fusion Middleware | NextGen Installer issues (Apache Mina SSHD) | Prior to 13.9.4.2.11 | |
| Oracle Fusion Middleware | RDA - Remote Diagnostic Agent (Apache Mina SSHD) | 12.2.1.4.0, 14.1.1.0.0 | 12.2.1.4.0 · 14.1.1.0.0 |
| Oracle Fusion Middleware | Runtime Server (Apache Mina SSHD) | 12.2.1.4.0 | 12.2.1.4.0 |
| Oracle PeopleSoft | Webserver (Apache Mina SSHD) | 8.60 | 8.60 |
| Oracle Retail Applications | Internal Operations (Apache Mina SSHD) | 19.0.0.6 | 19.0.0.6 |
| Oracle Support Tools | Diagnostic Assistant (Apache Mina SSHD) | 2.12.43 | 2.12.43 |
| Oracle Support Tools | RDA - Remote Diagnostic Agent (Apache MINA SSHD) | 22.4.22.10.18 | 22.4.22.10.18 |
| Oracle Support Tools | Services Tools Bundle (Apache Mina SSHD) | 22.2.22.4.5 | 22.2.22.4.5 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.sshd:sshd-common |
0 | 2.9.2 |
unbounded |
org.apache.sshd:sshd-core |
0 | 2.9.2 |
unbounded |
Products and versions
3 products, 3 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | sshd | generic | ≤ 2.9.1 |
| osv | org.apache.sshd | sshd-common | generic | < 2.9.2 |
| osv | org.apache.sshd | sshd-core | generic | < 2.9.2 |
References
Timeline
Timeline
| Published | 2022-11-16 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |