Apache MINA SSHD: Java unsafe deserialization vulnerability
CVE-2022-45047
Key Information:
- Vendor
Apache
- Status
- Vendor
- CVE Published:
- 16 November 2022
Badges
Key facts
CVE-2022-45047 is a critical severity (CVSS 9.8) vulnerability in Apache MINA SSHD. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 3.7%, the estimated probability of exploitation in the next 30 days.
How risky is it?
- Yes: Works over the network, no login needed
- Yes: Public exploit code (1 proof-of-concept)
- Yes: Attacked in the wild
- No: Not on CISA's exploited list
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Mina Sshd. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
It has been exploited in the wild, so check logs on exposed Apache Mina Sshd systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.
4Why it's rated "Patch now"
- It is being exploited in the wild.
- Exploit code is public, so attacks are easy to copy.
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.8).
What is CVE-2022-45047?
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 Version(s)
Apache MINA SSHD <= 2.9.1
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat Products by Apache
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
CVSS V3.1
Timeline
- π‘
Public PoC available
- πΎ
Exploit known to exist
Vulnerability published
Vulnerability Reserved