CVE-2021-34371
JSON

9.8critical

Deserialization of Untrusted Data in Neo4j

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
35.3% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-pc4w-8v5j-29w9BIT-NEO4J-2021-34371BIT-NEO4J-ENTERPRISE-2021-34371

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
org.neo4j:neo4j (Maven)before 3.5.0GitHub Advisory Database
neo4j neo4jup to 3.4.18NVD
neo4j (Bitnami)before 3.4.19Bitnami Vulnerability Database
neo4j-enterprise (Bitnami)up to 3.4.18Bitnami Vulnerability Database

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasecritical rating

Classification

What each source says

CVE List

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.

NVD (es)

Neo4j versiones hasta 3.4.18 (con el servidor shell habilitado) expone un servicio RMI que deserializa arbitrariamente objetos Java, por ejemplo, mediante la función setSessionVariable. Un atacante puede abusar de esto para una ejecución de código remota porque se presenta dependencias con cadenas de gadgets explotables

References

Sources

SourceRecordLicence
CVE ListCVE-2021-34371 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-pc4w-8v5j-29w9 changed 2026-08-26CC-BY-4.0
NVDCVE-2021-34371 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NEO4J-2021-34371 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NEO4J-ENTERPRISE-2021-34371 changed 2026-09-08Apache-2.0