CVE-2022-37423 Neo4j Graph apoc plugins Partial Path Traversal Vulnerability
Attackers can read files from sibling directories via the apoc.log.stream procedure in Neo4j APOC, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-37423?
CVE-2022-37423 is a high-severity path traversal vulnerability in n/a, published on 12 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Neo4j APOC (Awesome Procedures on Cypher) before 4.3.0.7 and 4.x before 4.4.0.8 allows Directory Traversal to sibling directories via apoc.log.stream.
Weakness: CWE-22
Which versions are affected by CVE-2022-37423?
4 open source packages ship an affected version, including org.neo4j.procedure:apoc. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.neo4j.procedure:apoc Maven | All versions | 4.3.0.7 |
org.neo4j.procedure:apoc Maven | All versions | 4.3.0.7 |
org.neo4j.procedure:apoc Maven | From 4.4.0.0 | 4.4.0.8 |
org.neo4j.procedure:apoc Maven | From 4.4.0.0 | 4.4.0.8 |
Products include Neo4j Awesome Procedures on Cypher.
How do I fix CVE-2022-37423?
Upgrade org.neo4j.procedure:apoc to a fixed version for your release line: 4.3.0.7 or 4.4.0.8.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-37423 being exploited?
There is no known exploitation of CVE-2022-37423 in the wild and no public exploit code.
Sources
Also known as GHSA-78f9-745f-278p.