CRITICAL 9.8
CVE-2021-34371
Deserialization of Untrusted Data in Neo4j
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.neo4j » neo4j | < 3.5.0 | 3.5.0 |
Blast radius
1affected artifacts
280affected versions
510dependent artifacts (est.)
7,997dependent versions
55% of the dependent artifacts (285) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,743 |
| 2 hops | 2,755 |
| 3 hops | 1,857 |
| 4 hops | 582 |
| 5 hops | 58 |
| 6 hops | 2 |
Most used dependents
- com.buschmais.jqassistant.plugin » common92 usages
- org.neo4j.app » neo4j-server81 usages
- org.neo4j.community » it-test-support80 usages
- com.buschmais.jqassistant.core » store74 usages
- org.neo4j.test » neo4j-harness71 usages
- com.buschmais.jqassistant.core » scanner59 usages
- org.neo4j » neo4j-ogm-core58 usages
- org.springframework.data » spring-data-neo4j51 usages
- com.buschmais.jqassistant.plugin » java49 usages
- com.buschmais.jqassistant.core » plugin46 usages
- io.macgyver » macgyver-core44 usages
- com.buschmais.jqassistant.core » analysis41 usages
- com.buschmais.jqassistant » jqassistant-maven-plugin39 usages
- com.tinkerpop.blueprints » blueprints-neo4j-graph33 usages
- com.buschmais.jqassistant.core » jqassistant.core.scanner31 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
