Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Zhang Zewei

Researcher fromNOFOCUS
#23731of 53,639
10Total CVSS
Vulnerabilities · 1
PT-2022-7177
10
2022-11-15
Apache · Apache Mina Sshd · CVE-2022-45047
**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.