CVE-2022-23532: neo4j-apoc-procedures is vulnerable to path traversal
APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j that provides hundreds of procedures and functions. A path traversal vulnerability found in the apoc.export. procedures of apoc plugins in Neo4j Graph database. The issue allows a malicious actor to potentially break out of the expected directory. The vulnerability is such that files could only be created but not overwritten. For the vulnerability to be exploited, an attacker would need access to execute an arbitrary query, either by having access to an authenticated Neo4j client, or a Cypher injection vulnerability in an application. The minimum versions containing patch for this vulnerability are 4.4.0.12 and 4.3.0.12 and 5.3.1. As a workaround, you can control the allowlist of the procedures that can be used in your system, and/or turn off local file access by setting apoc.export.file.enabled=false.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-23532?
The severity of CVE-2022-23532 is classified as high due to the potential for path traversal attacks.
How do I fix CVE-2022-23532?
To fix CVE-2022-23532, upgrade the Neo4j Awesome Procedures library to a version higher than 5.3.0.
Which versions are affected by CVE-2022-23532?
CVE-2022-23532 affects versions of Neo4j Awesome Procedures up to 4.3.0.12, from 4.4.0.0 to 4.4.0.12, and exactly 5.3.0.
What are the implications of CVE-2022-23532?
The implications of CVE-2022-23532 include unauthorized access to file paths potentially compromising sensitive data.
Who is impacted by CVE-2022-23532?
Developers and administrators using the affected versions of the Neo4j database with the APOC library are impacted by CVE-2022-23532.