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

CVE-2021-42767: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

March 1, 2022 (updated October 4, 2022)

A directory traversal vulnerability in the apoc plugins in Neo4J Graph database before 4.4.0.1 allows attackers to read local files, and sometimes create local files. This is fixed in 3.5.17, 4.2.10, 4.3.0.4, and 4.4.0.1.

References

  • github.com/advisories/GHSA-4mpj-488r-vh6m
  • github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-4mpj-488r-vh6m
  • neo4j.com/
  • nvd.nist.gov/vuln/detail/CVE-2021-42767

Code Behaviors & Features

Detect and mitigate CVE-2021-42767 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.17, all versions starting from 4.2.0.0 before 4.2.10, all versions starting from 4.3.0.0 before 4.3.0.4, all versions starting from 4.4.0.0 before 4.4.0.1

Fixed versions

  • 3.5.0.17
  • 4.2.10
  • 4.3.0.4
  • 4.4.0.1

Solution

Upgrade to versions 3.5.0.17, 4.2.10, 4.3.0.4, 4.4.0.1 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.neo4j.procedure/apoc/CVE-2021-42767.yml

Spotted a mistake? Edit the file on GitLab.

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

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