Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.neo4j/neo4j-shell
  4. ›
  5. CVE-2021-34371

CVE-2021-34371: Deserialization of Untrusted Data

September 1, 2021 (updated August 8, 2023)

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.

References

  • github.com/advisories/GHSA-pc4w-8v5j-29w9
  • nvd.nist.gov/vuln/detail/CVE-2021-34371

Code Behaviors & Features

Detect and mitigate CVE-2021-34371 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.5.0

Fixed versions

  • 3.5.0

Solution

Upgrade to version 3.5.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.neo4j/neo4j-shell/CVE-2021-34371.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.