CVE-2022-36084: cruddl - AQL Injection
- Cve: CVE-2022-36084
- Name: cruddl - AQL Injection
- Description: 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.
- Impact: Attackers with read permission can inject and execute arbitrary AQL queries on ArangoDB, potentially leading to data compromise or manipulation.
- Remediation: Update to version 2.7.0 or 3.0.2, or remove @flexSearchFulltext from schemas as a temporary workaround.
- Vulnerability type: nosql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs read permission on a root entity with @flexSearchFulltext
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01496
- Epss percentile: 0.74865
- Assignee: [email protected]
- Published at: 2022-09-08T22:15:08Z
- Age in days: 1538
- Modified at: 2026-06-17T04:52:53Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36084
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/AEB-labs/cruddl/commit/13b9233733ed6fc822718a07bc90a80cd3492698 | Patch, Third Party Advisory |
| https://github.com/AEB-labs/cruddl/pull/253 | Patch, Third Party Advisory |
| https://github.com/AEB-labs/cruddl/security/advisories/GHSA-qm4w-4995-vg7f | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| aeb:cruddl | >= 3.0.0, < 3.0.2; >= 1.1.0, < 2.7.0 | no | nvd | /v1/products/aeb/cruddl |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| AEB-labs/cruddl | commit, fix, package, pull, security_advisory | yes | /v1/repositories/AEB-labs/cruddl |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts