WaratekVRT Sign in

CVE-2022-45047 apache sshd

Affected softwareapache sshd
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in2.9.2
WeaknessDeserialization of untrusted data (CWE-502)
Published16 Nov 2022
Updated17 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.

  • 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

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC POC,EXP,chatGPT for me 2 2023-04-07

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

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.

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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

AdvisoryTypeQuarterProducts 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

FamilyComponentVersions, as Oracle lists themRead 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
PackageIntroducedFixedLast 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
SourceVendorProductSchemeAffected 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

URLTags
https://github.com/apache/mina-sshd/commit/03238d51586f6b3c0bdbb1a23cf16799344d6c32 WEB
https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0 WEB
https://github.com/apache/mina-sshd/commit/5a8fe830b2a2308a2b24ac8115a391af477f64f5 WEB
https://github.com/apache/mina-sshd PACKAGE
https://www.mail-archive.com/dev@mina.apache.org/msg39312.html WEB
https://security.netapp.com/advisory/ntap-20240216-0008/
https://www.mail-archive.com/dev%40mina.apache.org/msg39312.html

Timeline

Published2022-11-16By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.