{"id":"CVE-2022-36084","published":"2022-09-08T21:15:13Z","modified":"2025-04-23T17:12:43Z","title":"cruddl vulnerable to AQL injection through flexSearch","vendor":"AEB-labs","product":"cruddl","tier":"tail","description":{"text":"cruddl is software for creating a GraphQL API for a database, using the GraphQL SDL to model a schema. If cruddl starting with version 1.1.0 and prior to versions 2.7.0 and 3.0.2 is used to generate a schema that uses `@flexSearchFulltext`, users of that schema may be able to inject arbitrary AQL queries that will be forwarded to and executed by ArangoDB. Schemas that do not use `@flexSearchFulltext` are not affected. The attacker needs to have `READ` permission to at least one root entity type that has `@flexSearchFulltext` enabled. The issue has been fixed in version 3.0.2 and in version 2.7.0 of cruddl. As a workaround, users can temporarily remove `@flexSearchFulltext` from their schemas.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01496,"percentile":0.74829,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/AEB-labs/cruddl/pull/253","tags":["x_refsource_MISC"]},{"url":"https://github.com/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698","tags":["x_refsource_MISC"]}],"priority":{"score":21.9,"factors":[{"name":"EPSS percentile","points":14.97},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"aeb-labs","affectedVersions":[{"vendor":"AEB-labs","product":"cruddl","versions":[">= 3.0.0, < 3.0.2",">= 1.1.0, < 2.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:49:29.594099Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"cruddl","vulnerableRanges":[">=3.0.0, <3.0.2",">=1.1.0, <2.7.0"],"patched":["3.0.2","2.7.0"],"from":["GHSA-qm4w-4995-vg7f"],"provenance":"source"}],"summary":{"text":"A flaw in the cruddl component of the cruddl product, affecting versions from 1.1.0 up to but not including 2.7.0 and 3.0.2, allows AQL query injection when a schema uses the @flexSearchFulltext directive. An attacker with network access and low-privilege authenticated read permission on at least one root entity type that has @flexSearchFulltext enabled can inject arbitrary AQL queries that are forwarded to and executed by ArangoDB, and schemas without that directive are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:29Z"},"euvd":{"id":"EUVD-2022-6921","exploited":false,"provenance":"source"}}