Apache MINA SSHD: Java unsafe deserialization vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 23 fixed, 10 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache MINA SSHD | up to 2.9.1 | — | No fix listed | CNA |
| — | org.apache.sshd:sshd-common (Maven) | before 2.9.2 | 2.9.2 | Patch available | GHSA-fhw8-8j55-vwgq |
| — | org.apache.sshd:sshd-core (Maven) | before 2.9.2 | 2.9.2 | Patch available | GHSA-fhw8-8j55-vwgq |
- Apache MINA SSHD VendorApache Affected up to 2.9.1 Fixed in — No fix listed CNA
- org.apache.sshd:sshd-common (Maven) Vendor— Affected before 2.9.2 Fixed in 2.9.2 Patch available GHSA-fhw8-8j55-vwgq
- org.apache.sshd:sshd-core (Maven) Vendor— Affected before 2.9.2 Fixed in 2.9.2 Patch available GHSA-fhw8-8j55-vwgq
Remediation
- Fix · GHSA-fhw8-8j55-vwgq org.apache.sshd:sshd-common (Maven) Fixed in 2.9.2 Advisory →
- Fix · GHSA-fhw8-8j55-vwgq org.apache.sshd:sshd-core (Maven) Fixed in 2.9.2 Advisory →
Red Hat 21 advisories
- RHSA-2025:1747 Released 2025-02-24 · Red Hat rating CriticalRed Hat JBoss Enterprise Application Platform 7.3.12 security update
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-hal-console-3.2.17-1.Final_redhat_00001.1.el7eap, eap7-jackson-annotations-2.10.4-2.redhat_00004.1.el7eap, eap7-jackson-core-2.10.4-2.redhat_00004.1.el7eap +38
- RHSA-2025:1746 Released 2025-02-24 · Red Hat rating CriticalRed Hat JBoss Enterprise Application Platform 7.1.9 on RHEL 7 security update
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server eap7-apache-cxf-3.1.16-4.redhat_00003.1.ep7.el7, eap7-apache-cxf-rt-3.1.16-4.redhat_00003.1.ep7.el7, eap7-apache-cxf-services-3.1.16-4.redhat_00003.1.ep7.el7 +26
- RHSA-2023:4983 Released 2023-09-05 · Red Hat rating ImportantRed Hat Process Automation Manager 7.13.4 security update
- RHPAM 7.13.4 async
Show 18 more Red Hat advisories
- RHSA-2023:3641 Released 2023-06-15 · Red Hat rating ImportantRed Hat Integration Camel for Spring Boot 3.18.3 Patch 2 release
- RHINT Camel-Springboot 3.18.3.P2
- RHSA-2023:3198 Released 2023-05-17 · Red Hat rating Criticaljenkins and jenkins-2-plugins security update
- OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins-2-plugins-4.11.1683009941-1.el8, jenkins-2.387.1.1683009763-3.el8
- RHSA-2023:1064 Released 2023-03-06 · Red Hat rating CriticalOpenShift Developer Tools and Services for OCP 4.12 security update
- OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins-4.12.1675702407-1.el8
- RHSA-2023:1043 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update on RHEL 7
- Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el7sso
- RHSA-2023:1049 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update
- Red Hat Single Sign-On 7
- RHSA-2023:1047 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 for OpenShift image security and enhancement update
- Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8
- RHSA-2023:1045 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update on RHEL 9
- Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el9sso
- RHSA-2023:1044 Released 2023-03-01 · Red Hat rating ImportantRed Hat Single Sign-On 7.6.2 security update on RHEL 8
- Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak-18.0.6-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso
- RHSA-2023:0777 Released 2023-02-23 · Red Hat rating CriticalOpenShift Container Platform 4.9.56 security update
- Red Hat OpenShift Container Platform 4.9 jenkins-2-plugins-4.9.1675668922-1.el8, jenkins-2.361.1.1675668150-1.el8
- RHSA-2023:0758 Released 2023-02-14 · Red Hat rating ModerateRed Hat build of Quarkus 2.13.7 release and security update
- Red Hat build of Quarkus
- RHSA-2023:0713 Released 2023-02-09 · Red Hat rating ImportantRed Hat Data Grid 8.4.1 security update
- Red Hat Data Grid 8.4.1
- RHSA-2023:0560 Released 2023-02-08 · Red Hat rating CriticalOpenShift Container Platform 4.10.51 security update
- Red Hat OpenShift Container Platform 4.10 jenkins-2-plugins-4.10.1675144701-1.el8
- RHSA-2023:0556 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss Enterprise Application Platform 7.4.9 com.fasterxml.jackson.core.jackson-databind-2.12.7.redhat-00003.jar, com.fasterxml.woodstox.woodstox-core-6.4.0.redhat-00001.jar, org.apache.cxf.cxf-core-3.4.10.redhat-00001.jar +4
- RHSA-2023:0554 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 9 eap7-apache-sshd-2.9.2-1.redhat_00001.1.el9eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el9eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el9eap +44
- RHSA-2023:0552 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-apache-sshd-2.9.2-1.redhat_00001.1.el7eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el7eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el7eap +46
- RHSA-2023:0553 Released 2023-01-31 · Red Hat rating ImportantRed Hat JBoss Enterprise Application Platform 7.4.9 Security update
- Red Hat JBoss EAP 7.4 for RHEL 8 eap7-apache-sshd-2.9.2-1.redhat_00001.1.el8eap, eap7-elytron-web-1.9.3-1.Final_redhat_00001.1.el8eap, eap7-hal-console-3.3.16-1.Final_redhat_00001.1.el8eap +44
- RHSA-2023:0074 Released 2023-01-11 · Red Hat rating ImportantRHV 4.4 SP1 [ovirt-4.5.3-3] security update
- RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 apache-sshd-1:2.9.2-0.1.el8ev, apache-sshd-javadoc-1:2.9.2-0.1.el8ev, ovirt-engine-ui-extensions-1.3.7-1.el8ev
- Red Hat Virtualization 4 Hypervisor for RHEL 8 vdsm-4.50.3.6-1.el8ev, vdsm-hook-checkips-4.50.3.6-1.el8ev, vdsm-hook-cpuflags-4.50.3.6-1.el8ev +7
- Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts vdsm-4.50.3.6-1.el8ev, vdsm-api-4.50.3.6-1.el8ev, vdsm-client-4.50.3.6-1.el8ev +16
- RHSA-2022:8957 Released 2022-12-13 · Red Hat rating ImportantRed Hat build of Quarkus Platform 2.7.6.SP3 and security update
- Red Hat build of Quarkus Platform 2.7.6.SP3
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Applications 6 | Affected | No fix yet |
| Migration Toolkit for Runtimes | Affected | No fix yet |
| Red Hat Fuse 7 | Affected | No fix yet |
| Red Hat Integration Camel Quarkus 1 | Affected | No fix yet |
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix yet |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix yet |
| Middleware Containers for OpenShift | Fixed | RHSA-2023:1047 |
| OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 | Fixed | RHSA-2023:3198 |
| OpenShift Developer Tools and Services for OCP 4.12 | Fixed | RHSA-2023:1064 |
| RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 | Fixed | RHSA-2023:0074 |
| RHINT Camel-Springboot 3.18.3.P2 | Fixed | RHSA-2023:3641 |
| RHPAM 7.13.4 async | Fixed | RHSA-2023:4983 |
| Red Hat Data Grid 8.4.1 | Fixed | RHSA-2023:0713 |
| Red Hat JBoss EAP 7.4 for RHEL 7 Server | Fixed | RHSA-2023:0552 |
| Red Hat JBoss EAP 7.4 for RHEL 8 | Fixed | RHSA-2023:0553 |
| Red Hat JBoss EAP 7.4 for RHEL 9 | Fixed | RHSA-2023:0554 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server | Fixed | RHSA-2025:1746 |
| Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server | Fixed | RHSA-2025:1747 |
| Red Hat JBoss Enterprise Application Platform 7.4.9 | Fixed | RHSA-2023:0556 |
| Red Hat OpenShift Container Platform 4.10 | Fixed | RHSA-2023:0560 |
| Red Hat OpenShift Container Platform 4.9 | Fixed | RHSA-2023:0777 |
| Red Hat Single Sign-On 7 | Fixed | RHSA-2023:1049 |
| Red Hat Single Sign-On 7.6 for RHEL 7 Server | Fixed | RHSA-2023:1043 |
| Red Hat Single Sign-On 7.6 for RHEL 8 | Fixed | RHSA-2023:1044 |
| Red Hat Single Sign-On 7.6 for RHEL 9 | Fixed | RHSA-2023:1045 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2023:0074 |
| Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts | Fixed | RHSA-2023:0074 |
| Red Hat build of Quarkus | Fixed | RHSA-2023:0758 |
| Red Hat build of Quarkus Platform 2.7.6.SP3 | Fixed | RHSA-2022:8957 |
Not affected: 14 products
- OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8
- OpenShift Developer Tools and Services for OCP 4.12
- RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4
- Red Hat AMQ Broker 7
- Red Hat Integration Camel K 1
- Red Hat JBoss EAP 7.4 for RHEL 7 Server
- Red Hat JBoss EAP 7.4 for RHEL 8
- Red Hat JBoss EAP 7.4 for RHEL 9
- Red Hat JBoss Enterprise Application Platform 7.4.9
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift Application Runtimes
- Red Hat OpenShift Container Platform 4.10
- Red Hat OpenShift Container Platform 4.9
- Red Hat build of Apache Camel for Spring Boot 3
Timeline
- 2026-10-02 Threatist record created from CVE-2022-45047
- 2026-10-03 Alias added: GHSA-fhw8-8j55-vwgq
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-24 EPSS moved to the 90th–95th percentile
- 2026-10-25 EPSS moved to the 50th–90th percentile
- 2026-10-29 EPSS moved to the 90th–95th percentile
References
Other 7
- https://www.mail-archive.com/dev%40mina.apache.org/msg39312.html
- https://security.netapp.com/advisory/ntap-20240216-0008/
- https://github.com/apache/mina-sshd/commit/03238d51586f6b3c0bdbb1a23cf16799344d6c32
- https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0
- https://github.com/apache/mina-sshd/commit/5a8fe830b2a2308a2b24ac8115a391af477f64f5
- https://github.com/apache/mina-sshd
- https://www.mail-archive.com/[email protected]/msg39312.html
More Apache Sshd vulnerabilities
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2021-10677 DoS/OOM leak vulnerability in Apache Mina SSHD Server CVSS 3.1MEDIUM 6.5
- TI-2023-17957 Apache MINA SSHD: Information disclosure bugs with RootedFilesystem CVSS 3.1MEDIUM 5.0
Sources
- CVE-2022-45047 · CVE Program
- CVE-2022-45047 · NVD
- FIRST EPSS
- GHSA-fhw8-8j55-vwgq · GitHub Advisory Database · CC BY 4.0
- CVE-2022-45047 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences