{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "state": "PUBLISHED", "cveId": "CVE-2022-45047", "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "assignerShortName": "apache", "dateUpdated": "2026-05-01T15:28:31.575Z", "dateReserved": "2022-11-08T00:00:00.000Z", "datePublished": "2022-11-16T00:00:00.000Z" }, "containers": { "cna": { "title": "Apache MINA SSHD: Java unsafe deserialization vulnerability", "providerMetadata": { "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "shortName": "apache", "dateUpdated": "2024-02-16T13:06:09.825Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "affected": [ { "vendor": "Apache Software Foundation", "product": "Apache MINA SSHD", "versions": [ { "version": "unspecified", "lessThanOrEqual": "2.9.1", "status": "affected", "versionType": "custom" } ] } ], "references": [ { "url": "https://www.mail-archive.com/dev%40mina.apache.org/msg39312.html" }, { "url": "https://security.netapp.com/advisory/ntap-20240216-0008/" } ], "credits": [ { "lang": "en", "value": "The Apache MINA SSHD team would like to thank Zhang Zewei, NOFOCUS, for reporting this issue." } ], "metrics": [ { "other": { "type": "unknown", "content": { "other": "important" } } } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-502 Deserialization of Untrusted Data", "cweId": "CWE-502" } ] } ], "x_generator": { "engine": "Vulnogram 0.0.9" }, "source": { "discovery": "UNKNOWN" }, "workarounds": [ { "lang": "en", "value": "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)." }, { "lang": "en", "value": "The issue was fixed in Apache MINA SSHD 2.9.2." } ] }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-03T14:01:31.528Z" }, "title": "CVE Program Container", "references": [ { "url": "https://www.mail-archive.com/dev%40mina.apache.org/msg39312.html", "tags": [ "x_transferred" ] }, { "url": "https://security.netapp.com/advisory/ntap-20240216-0008/", "tags": [ "x_transferred" ] } ] }, { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 9.8, "attackVector": "NETWORK", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2026-05-01T03:55:36.395675Z", "id": "CVE-2022-45047", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-05-01T15:28:31.575Z" } } ] } }