{"id":"CVE-2022-36084","aliases":["CVE-2022-36084","GHSA-qm4w-4995-vg7f"],"related":[],"kind":"vulnerability","state":"published","title":"cruddl vulnerable to AQL injection through flexSearch","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIf a vunerable version of cruddl 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.\n\nSchemas that do not use `@flexSearchFulltext` are not affected.\n\nThe attacker needs to have `READ` permission to at least one root entity type that has `@flexSearchFulltext` enabled.\n\n### Patches\n\nThe issue has been fixed in version 3.0.2 and in version 2.7.0 of cruddl.\n\n### Workarounds\n\nUsers can temporarily remove `@flexSearchFulltext` from their schemas before they can update cruddl.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [cruddl](https://github.com/AEB-labs/cruddl)\n* Email us at [security@aeb.com](mailto:security@aeb.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"cruddl es un software para crear una API GraphQL para una base de datos, usando GraphQL SDL para modelar un esquema.&#xa0;Si es usado cruddl a partir de la versión 1.1.0 y anteriores a 2.7.0 y 3.0.2, para generar un esquema que usa \"@flexSearchFulltext\", los usuarios de ese esquema pueden inyectar consultas AQL arbitrarias que serán reenviadas a y ejecutadas por ArangoDB.&#xa0;Los esquemas que no usan \"@flexSearchFulltext\" no están afectados.&#xa0;El atacante debe tener permiso \"READ\" para al menos un tipo de entidad root que tenga habilitado \"@flexSearchFulltext\".&#xa0;El problema ha sido corregido en versión 3.0.2 y en versión 2.7.0 de cruddl.&#xa0;Como mitigación, los usuarios pueden eliminar temporalmente \"@flexSearchFulltext\" de sus esquemas","source":"nvd"}],"published":"2022-09-08T21:15:13.000Z","modified":"2026-06-17T04:52:53.090Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-74","CWE-943"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.0.2","status":"affected"},{"version":">= 1.1.0, < 2.7.0","status":"affected"}],"vendor":"AEB-labs","product":"cruddl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.2"}],"ecosystem":"npm","package":"cruddl","purl":"pkg:npm/cruddl","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.1.0","status":"affected","fixed":"2.7.0"}],"ecosystem":"npm","package":"cruddl","purl":"pkg:npm/cruddl","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.1.0","fixed":"2.7.0"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.2"}],"vendor":"aeb","product":"cruddl","cpe":"cpe:2.3:a:aeb:cruddl:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/AEB-labs/cruddl/pull/253","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36084","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/AEB-labs/cruddl","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:49:29.594Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-36084","url":"https://www.cve.org/CVERecord?id=CVE-2022-36084","licence":"CVE Terms of Use","modified":"2025-04-23T17:12:43.338Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qm4w-4995-vg7f","url":"https://github.com/advisories/GHSA-qm4w-4995-vg7f","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:00.186Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-36084","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36084","licence":"Public domain","modified":"2026-06-17T04:52:53.090Z"}],"updatedAt":"2026-11-25T22:58:14.785Z","epss":{"score":0.01583,"percentile":0.76315,"date":"2026-12-02T12:00:21.000Z"}}