GitHub Advisory Database
GHSA-pc4w-8v5j-29w9
Deserialization of Untrusted Data in Neo4j
Details
Neo4j through 3.4.18 (with the shell server enabled) exposes an RMI service that arbitrarily deserializes Java objects, e.g., through setSessionVariable. An attacker can abuse this for remote code execution because there are dependencies with exploitable gadget chains.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.neo4j:neo4j | All versions before 3.5.0 (fixed in 3.5.0) |