Aerospike Java Client vulnerable to unsafe deserialization of server responses
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.2.0, 5.2.0, 4.5.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: yes
- Technical impact: total
Summary
The Aerospike Java client is a Java application that implements a network protocol to communicate with an Aerospike server. Prior to versions 7.0.0, 6.2.0, 5.2.0, and 4.5.0 some of the messages received from the server contain Java objects that the client deserializes when it encounters them without further validation. Attackers that manage to trick clients into communicating with a malicious server can include especially crafted objects in its responses that, once deserialized by the client, force it to execute arbitrary code. This can be abused to take control of the machine the client is running on. Versions 7.0.0, 6.2.0, 5.2.0, and 4.5.0 contain a patch for this issue.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- aerospike aerospike-client-java
From 6.0.0 · fixed in 6.2.0; From 5.0.0 · fixed in 5.2.0; fixed in 4.5.0
- com.aerospike:aerospike-clientMaven
From 6.0.0 · fixed in 6.2.0
- com.aerospike:aerospike-clientMaven
From 5.0.0 · fixed in 5.2.0
- com.aerospike:aerospike-clientMaven
fixed in 4.5.0
References 13
GitHub · aerospike/aerospike-client-java
- Advisory GHSA-jj95-55cr-9597
- Commit 02bf28e6
- Commit 51c65e32
- Commit 66aafb4c
- Commit 80c508cc
- client/src/com/aerospike/client/async/AsyncRead.java · L68
- client/src/com/aerospike/client/async/NettyCommand.java · L1157
- client/src/com/aerospike/client/async/NettyCommand.java · L489
- client/src/com/aerospike/client/async/NettyCommand.java · L596
- client/src/com/aerospike/client/command/Buffer.java · L53
- client/src/com/aerospike/client/command/Command.java · L2083
- client/src/com/aerospike/client/util/Unpacker.java · L227