PT-2022-7177
CVE-2022-45047
·
Published
2022-11-15
·
Updated
2024-06-15
Description by
CVSS 2.0
10
CriticalMetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Apache MINA SSHD versions <= 2.9.1
Description
The issue is related to the class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider in Apache MINA SSHD, which uses Java deserialization to load a serialized java.security.PrivateKey. This can allow a remote attacker to execute arbitrary code. The class is one of several implementations that can be chosen for loading the host keys of an SSH server.
Recommendations
For Apache MINA SSHD versions <= 2.9.1, consider updating to a version greater than 2.9.1 to resolve the issue.
As a temporary workaround, consider restricting the use of the SimpleGeneratorHostKeyProvider class until a patch is available.
Avoid using the Java deserialization mechanism to load serialized java.security.PrivateKey objects in the affected class.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾