CVE-2022-45047Apache Sshd
Critical 9.8 No auth needed
Follow: this CVE · Apache · Apache Sshd We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Nov 16, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Sshd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.sshd:sshd-common |
< 2.9.2 |
2.9.2 |
— |
| Maven | org.apache.sshd:sshd-core |
< 2.9.2 |
2.9.2 |
— |
Per OSV / GitHub Advisories (GHSA-fhw8-8j55-vwgq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | sshd | ≤ 2.9.1 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.9.56 security update · Red Hat · RHSA-2023:0777 · Aug 5, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.