CVE-2022-45047
mina-sshd: Java unsafe deserialization vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.sshd:sshd-common, org.apache.sshd:sshd-core | 2.9.2 |
| Red Hat | jenkins-2-plugins, opendaylight | no fix listed |
Show all 4 entries from 2 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.sshd:sshd-common | 2.9.2 |
| maven::GitHub Security Advisory Maven | org.apache.sshd:sshd-core | 2.9.2 |
| Red Hat | jenkins-2-plugins | no fix listed |
| Red Hat | opendaylight | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2022-45047
- https://github.com/apache/mina-sshd
- 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://nvd.nist.gov/vuln/detail/CVE-2022-45047
- https://security.netapp.com/advisory/ntap-20240216-0008/
- https://www.cve.org/CVERecord?id=CVE-2022-45047