CVE-2022-36084 json
cruddl vulnerable to AQL injection through flexSearch
published 2022-09-08 4 y ago modified 2026-06-17 4 mo ago also GHSA-qm4w-4995-vg7f , EUVD-2022-6921
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
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.
Patch / fix
- npm cruddl 2.7.0, 3.0.2
- aeb cruddl 2.7.0, 3.0.2
- github.com/AEB-labs/cruddl@13b9233 commit
- github.com/AEB-labs/cruddl#253 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.50% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | cruddl | >=3.0.0, <3.0.2 >=1.1.0, <2.7.0 |
3.0.2 2.7.0 |
Affected products
- AEB-labs cruddl
Classification
References
-
github.com
/AEB-labs/cruddl/pull/253
web, patch, third-party-advisory
-
github.com
/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698
web, patch, third-party-advisory
-
github.com
/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-36084
advisory
-
github.com
/AEB-labs/cruddl
package
Sources
- CVE List CVE-2022-36084
- GitHub Advisory GHSA-qm4w-4995-vg7f
- NVD CVE-2022-36084
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.