WaratekVRT Sign in

CVE-2022-23532

Severity7.1 High CVSS 3.1 2 scores
Fixed in4.3.0.12, 4.4.0.12
WeaknessPath traversal (CWE-22)
Published14 Jan 2023
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 3 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.69% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://github.com/neo4j-contrib/neo4j-apoc-procedures/commit/01e63ed2d187cd2a8aa1d78bf831ef0fdd69b522 : a commit: the change itself

How to mitigate CVE-2022-23532

Upgrade the affected software to a release that fixes it: 4.3.0.12 or 4.4.0.12. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.1 HIGH v3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.1 HIGH CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L security-advisories@github.com Secondary published
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.neo4j.procedure:apoc 0 4.3.0.12 unbounded
org.neo4j.procedure:apoc 4.4.0.0 4.4.0.12 unbounded

Products and versions

2 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd neo4j awesome procedures on cyper generic < 4.3.0.12 · ≥ 4.4.0.0 and < 4.4.0.12 · 5.3.0
osv org.neo4j.procedure apoc generic < 4.3.0.12 · ≥ 4.4.0.0 and < 4.4.0.12

References

URLTags
https://github.com/neo4j-contrib/neo4j-apoc-procedures/commit/01e63ed2d187cd2a8aa1d78bf831ef0fdd69b522 commit
https://github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-5v8v-gwmw-qw97 WEB
https://github.com/neo4j-contrib/neo4j-apoc-procedures PACKAGE

Timeline

Published2023-01-14By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.