CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in apache sshd. EPSS 4.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.sshd:sshd-common 2.9.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Horg.apache.sshd:sshd-common (Maven): fixed in 2.9.2org.apache.sshd:sshd-core (Maven): fixed in 2.9.2Explain CVE-2022-45047 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-45047?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-45047?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-45047 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache MINA SSHD | through 2.9.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fhw8-8j55-vwgq | Maven | org.apache.sshd:sshd-common | <2.9.2 | 2.9.2 |
| GHSA-fhw8-8j55-vwgq | Maven | org.apache.sshd:sshd-core | <2.9.2 | 2.9.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-apache-sshd | 0:2.9.2-1.redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-elytron-web, eap7-undertow-server | 0:1.9.3-1.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-hal-console | 0:3.3.16-1.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-hibernate-search, eap7-hibernate-search-orm, eap7-hibernate-search-engine and 3 more | 0:5.10.13-3.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more | 0:1.5.10-1.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jackson-core, eap7-jackson-databind, eap7-jackson-jaxrs-base and 8 more | 0:2.12.7-1.redhat_00003.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-javaee-security-soteria, eap7-javaee-security-soteria-enterprise | 0:1.0.1-3.redhat_00003.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-ejb-client | 0:4.0.49-1.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-jsf-api_2.3_spec | 0:3.0.0-6.SP07_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-jsp-api_2.3_spec | 0:2.0.0-3.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-remoting | 0:5.0.27-1.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core | 0:1.10.0-24.Final_redhat_00023.1.el7eap | RHSA-2023:0552 |
| 67 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 more | apache-sshd | 2.12.0-150200.5.8.1 | SUSE-SU-2024:0224-1 |
| openSUSE | Leap 15.5 | apache-parent | 31-150200.3.12.1 | SUSE-SU-2024:0224-1 |
| openSUSE | Leap 15.5 | apache-sshd | 2.12.0-150200.5.8.1 | SUSE-SU-2024:0224-1 |
| openSUSE | Tumbleweed | apache-sshd | 2.9.2-1.1 | openSUSE-SU-2024:12511-1 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
Red Hat Impact as High as there's a mitigation for minimizing the impact which the flaw requires org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider to be impacted, which would require an external/public API for an attacker to benefit from it.
Red Hat Fuse 7 and Red Hat JBoss Enterprise Application Platform 7 have a lower rate (moderate) as it's very unlikely to be exploited since those are for internal usage or use a custom implementation in their case.
From the maintainer:
For Apache MINA SSHD <= 2.9.1, do not use org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider to generate and later load your server's host key. Use separately generated host key files, for instance in OpenSSH format, and load them via a org.apache.sshd.common.keyprovider.FileKeyPairProvider instead. Or use a custom implementation instead of
SimpleGeneratorHostKeyProvider that uses the OpenSSH format for storing and loading the host key (via classes OpenSSHKeyPairResourceWriter and OpenSSHKeyPairResourceParser).
| Product | Package | State | Advisory |
|---|---|---|---|
| OCP-Tools-4.12-RHEL-8 | jenkins-2-plugins-0:4.12.1675702407-1.el8 | Fixed 2023-03-06 | RHSA-2023:1064 |
| OpenShift Developer Tools and Services for OCP 4.11 | jenkins-2-plugins-0:4.11.1683009941-1.el8 | Fixed 2023-05-17 | RHSA-2023:3198 |
| Red Hat build of Quarkus | Fixed 2023-02-14 | RHSA-2023:0758 | |
| Red Hat build of Quarkus Platform 2.7.6.SP3 | sshd-common | Fixed 2022-12-13 | RHSA-2022:8957 |
| Red Hat Data Grid 8.4.1 | mina-sshd | Fixed 2023-02-09 | RHSA-2023:0713 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-apache-cxf-0:3.1.16-4.redhat_00003.1.ep7.el7 | Fixed 2025-02-24 | RHSA-2025:1746 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-jackson-databind-0:2.8.11.6-2.SP1_redhat_00002.1.ep7.el7 | Fixed 2025-02-24 | RHSA-2025:1746 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-jettison-0:1.3.8-2.redhat_00002.1.ep7.el7 | Fixed 2025-02-24 | RHSA-2025:1746 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-netty-0:4.1.63-1.Final_redhat_00002.1.ep7.el7 | Fixed 2025-02-24 | RHSA-2025:1746 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-resteasy-0:3.0.27-1.Final_redhat_00001.1.ep7.el7 | Fixed 2025-02-24 | RHSA-2025:1746 |
| Migration Toolkit for Applications 6 | mina-sshd | Affected | |
| Migration Toolkit for Runtimes | mina-sshd | Affected | |
| Red Hat AMQ Broker 7 | sshd-common | Not affected | |
| Red Hat build of Apache Camel for Spring Boot 3 | sshd-common | Not affected | |
| Red Hat Fuse 7 | sshd-common | Affected | |
| Red Hat Integration Camel K 1 | sshd-common | Not affected | |
| Red Hat Integration Camel Quarkus 1 | sshd-common | Affected | |
| Red Hat JBoss Data Grid 7 | mina-sshd | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 6 | keycloak-adapter-sso7_5-eap6 | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 6 | sshd-common | Out of support scope | |
| 36 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-45047.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.