CVE-2022-45047
CRITICAL 9.8CVSS 3.1Unsafe deserialization in Apache MINA SSHD
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.
- Published
- 16 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-fhw8-8j55-vwgq
- Sources
- NVDJSONOSV GHSA-fhw8-8j55-vwgqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | sshdcpe:2.3:a:apache:sshd:*:*:*:*:*:*:*:* |
<= 2.9.1 | |
| OSV | Maven | org.apache.sshd:sshd-common | < 2.9.2 | 2.9.2 |
| OSV | Maven | org.apache.sshd:sshd-core | < 2.9.2 | 2.9.2 |
References
- https://security.netapp.com/advisory/ntap-20240216-0008/
- https://www.mail-archive.com/dev%40mina.apache.org/msg39312.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-45047 · ADVISORY
- 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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Nov 2022)