CVE-2022-36084
HIGH 8.8CVSS 3.1cruddl vulnerable to ArangoDB Query Language (AQL) injection through flexSearch
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.
- Published
- 8 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-qm4w-4995-vg7f
- Sources
- NVDJSONOSV GHSA-qm4w-4995-vg7fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | aeb | cruddlcpe:2.3:a:aeb:cruddl:*:*:*:*:*:node.js:*:* |
>= 1.1.0, < 2.7.0 | 2.7.0 |
| NVD | aeb | cruddlcpe:2.3:a:aeb:cruddl:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.0.2 | 3.0.2 |
| OSV | npm | cruddl | >= 3.0.0, < 3.0.2 | 3.0.2 |
| OSV | npm | cruddl | >= 1.1.0, < 2.7.0 | 2.7.0 |
References
- https://github.com/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698 · Patch, Third Party Advisory, WEB
- https://github.com/AEB-labs/cruddl/pull/253 · Patch, Third Party Advisory, WEB
- https://github.com/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-36084 · ADVISORY
- https://github.com/AEB-labs/cruddl · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 8 Sep 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Sep 2022)