{"answers":{"affected":"4 open source packages ship an affected version, including org.neo4j.procedure:apoc.","exploited":"There is no known exploitation of GHSA-9vx8-f5c4-862x in the wild and no public exploit code.","fix":"Upgrade org.neo4j.procedure:apoc to a fixed version for your release line: 4.4.0.14 or 5.5.0.","what":"GHSA-9vx8-f5c4-862x is a vulnerability in org.neo4j.procedure:apoc, published on 24 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-9vx8-f5c4-862x and fix it if it is affected.\n\nWhat it is: GHSA-9vx8-f5c4-862x is a vulnerability in org.neo4j.procedure:apoc, published on 24 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-9vx8-f5c4-862x in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.neo4j.procedure:apoc (Maven): affected all versions; fixed in 4.4.0.14\n- org.neo4j.procedure:apoc (Maven): affected all versions; fixed in 4.4.0.14\n- org.neo4j.procedure:apoc (Maven): affected from 5.0.0; fixed in 5.5.0\n- org.neo4j.procedure:apoc (Maven): affected from 5.0.0; fixed in 5.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-9vx8-f5c4-862x/ (Markdown: https://insights.sbomify.com/GHSA-9vx8-f5c4-862x/index.md)","id":"GHSA-9vx8-f5c4-862x","markdown":"https://insights.sbomify.com/GHSA-9vx8-f5c4-862x/index.md","name":"GHSA-9vx8-f5c4-862x","record":{"aliases":[],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Neo4j APOC plugin","requires_auth":"low_privilege","summary":"An XXE vulnerability in the Neo4j APOC plugin allows attackers to read local files and cause denial of service via crafted XML input.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nA XML External Entity (XXE) vulnerability found in the apoc.import.graphml procedure of APOC core plugin in Neo4j graph database. XML External Entity (XXE) injection occurs when the XML parser allows external entities to be resolved. The XML parser used by the apoc.import.graphml procedure was not configured in a secure way and therefore allowed this.\n\nExternal entities can be used to read local files, send HTTP requests, and perform denial-of-service attacks on the application.\n\nAbusing the XXE vulnerability enabled assessors to read local files remotely. Although with the level of privileges assessors had this was limited to one-line files. With the ability to write to the database, any file could have been read. Additionally, assessors noted, with local testing, the server could be crashed by passing in improperly formatted XML. \n\n### Patches\nThe users should aim to use the latest released version compatible with their Neo4j version. The minimum versions containing patch for this vulnerability is 4.4.0.14. \n\n### Workarounds\nIf you cannot upgrade the library, you can control the [allowlist](https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/#config_dbms.security.procedures.allowlist)  of the  procedures that can be used in your system.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [neo4j-apoc-procedures](https://github.com/neo4j-contrib/neo4j-apoc-procedures)\n* Email us at [security@neo4j.com](mailto:security@neo4j.com)\n\n### Credits\nWe want to publicly recognise the contribution of Christopher Schneider – State Farm.","ecosystems":["Maven"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"XML External Entity (XXE) vulnerability in apoc.import.graphml","id":"GHSA-9vx8-f5c4-862x","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2023"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Maven","fixed":["4.4.0.14"],"introduced":["0"],"last_affected":[],"package":"org.neo4j.procedure:apoc","purl":null,"source":"GHSA-9vx8-f5c4-862x"},{"ecosystem":"Maven","fixed":["4.4.0.14"],"introduced":["0"],"last_affected":[],"package":"org.neo4j.procedure:apoc","purl":"pkg:maven/org.neo4j.procedure/apoc","source":"GHSA-9vx8-f5c4-862x"},{"ecosystem":"Maven","fixed":["5.5.0"],"introduced":["5.0.0"],"last_affected":[],"package":"org.neo4j.procedure:apoc","purl":null,"source":"GHSA-9vx8-f5c4-862x"},{"ecosystem":"Maven","fixed":["5.5.0"],"introduced":["5.0.0"],"last_affected":[],"package":"org.neo4j.procedure:apoc","purl":"pkg:maven/org.neo4j.procedure/apoc","source":"GHSA-9vx8-f5c4-862x"}],"products":null,"published":"2023-02-24","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An XXE vulnerability in the Neo4j APOC plugin allows attackers to read local files and cause denial of service via crafted XML input.","url":"https://insights.sbomify.com/GHSA-9vx8-f5c4-862x/"}