Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Neo4J | Awesome Procedures On Cyper | < 4.3.0.12 |
Related Weaknesses (CWE)
References
- https://github.com/neo4j-contrib/neo4j-apoc-procedures/commit/01e63ed2d187cd2a8aPatchThird Party Advisory
- https://github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-Third Party Advisory
- https://github.com/neo4j-contrib/neo4j-apoc-procedures/commit/01e63ed2d187cd2a8aPatchThird Party Advisory
- https://github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-Third Party Advisory
FAQ
What is CVE-2022-23532?
CVE-2022-23532 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 plug...
How severe is CVE-2022-23532?
CVE-2022-23532 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-23532?
Check the references section above for vendor advisories and patch information. Affected products include: Neo4J Awesome Procedures On Cyper.