9.8critical
Apache MINA SSHD: Java unsafe deserialization vulnerability
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 3.71% (higher than 91% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-fhw8-8j55-vwgq
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache MINA SSHD | from unspecified up to 2.9.1 | CVE List |
| org.apache.sshd:sshd-common (Maven) | before 2.9.2 | GitHub Advisory Database |
| org.apache.sshd:sshd-core (Maven) | before 2.9.2 | GitHub Advisory Database |
| apache sshd | up to 2.9.1 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
Until version 2.1.0, the code affected by this vulnerability appeared in org.apache.sshd:sshd-core. Version 2.1.0 contains a commit where the code was moved to the package org.apache.sshd:sshd-common, which did not exist until version 2.1.0.
NVD (es)
La clase org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider en Apache MINA SSHD anteriore a la versión 2.9.1 usa la deserialización de Java para cargar una java.security.PrivateKey serializada. La clase es una de varias implementaciones que un implementador que usa Apache MINA SSHD puede elegir para cargar las claves de host de un servidor SSH.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-45047 changed 2026-05-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fhw8-8j55-vwgq changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-45047 changed 2026-06-17 | Public domain |