Live threats

All CVEs / Apache

CVE-2022-45047Apache Sshd

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sshd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachesshd≤ 2.9.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.