{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-45047","id":"CVE-2022-45047","title":"Apache MINA SSHD: Java unsafe deserialization vulnerability","description":"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.","descriptionLong":"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.","published":"2022-11-16T00:00:00.000Z","updated":"2026-10-28T02:30:51.365705750Z","reserved":"2022-11-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Apache Software Foundation Apache MINA SSHD"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache MINA SSHD","defaultStatus":null,"versions":[{"version":"unspecified","lessThanOrEqual":"2.9.1","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.sshd:sshd-common","purl":"pkg:maven/org.apache.sshd/sshd-common","ranges":["<2.9.2"],"fixed":["2.9.2"],"advisory":"GHSA-fhw8-8j55-vwgq"},{"ecosystem":"Maven","name":"org.apache.sshd:sshd-core","purl":"pkg:maven/org.apache.sshd/sshd-core","ranges":["<2.9.2"],"fixed":["2.9.2"],"advisory":"GHSA-fhw8-8j55-vwgq"}],"cwes":["CWE-502"],"aliases":["GHSA-fhw8-8j55-vwgq"],"references":[{"url":"https://www.mail-archive.com/dev%40mina.apache.org/msg39312.html","tags":["x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240216-0008/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45047.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45047","tags":["advisory"]},{"url":"https://github.com/apache/mina-sshd/commit/03238d51586f6b3c0bdbb1a23cf16799344d6c32","tags":["web"]},{"url":"https://github.com/apache/mina-sshd/commit/10de190e7d3f9189deb76b8d08c72334a1fe2df0","tags":["web"]},{"url":"https://github.com/apache/mina-sshd/commit/5a8fe830b2a2308a2b24ac8115a391af477f64f5","tags":["web"]},{"url":"https://github.com/apache/mina-sshd","tags":["package"]},{"url":"https://www.mail-archive.com/dev@mina.apache.org/msg39312.html","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.04733,"epssPercentile":0.92038,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-45047","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45047","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-45047","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fhw8-8j55-vwgq","ok":true,"note":"GHSA-fhw8-8j55-vwgq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-45047","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}