CVE-2022-45047: Class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider in Apache MINA SSHD <= 2.9.1 uses Java
CVE-2022-45047 is a critical-severity flaw (CVSS 9.8) affecting sshd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 10%: very likely to be exploited
- CISA SSVC: public proof of concept
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.8% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2022-11-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: hktalent/CVE-2022-45047 (2 stars)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-45047?
sshd: upgrade to newer than 2.9.1. Exact commands for each OS are on this page.
Is CVE-2022-45047 being exploited?
CVE-2022-45047 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-45047 affect?
CVE-2022-45047 affects sshd. Severity is critical (CVSS 9.8). 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 us
How urgent is CVE-2022-45047?
Priority 73/100. Critical severity; EPSS top 10%: very likely to be exploited; CISA SSVC: public proof of concept; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2023-35887 MEDIUM 5.0 UPGRADE Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache
- CVE-2021-30129 MEDIUM 6.5 UPGRADE DOWNGRADE A vulnerability in sshd-core of Apache Mina SSHD allows an attacker to overflow the server causing an OutOfMem