CVE-2024-39895 Directus GraphQL Field Duplication Denial of Service (DoS)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Directus is a real-time API and App dashboard for managing SQL database content. A denial of service (DoS) attack by field duplication in GraphQL is a type of attack where an attacker exploits the flexibility of GraphQL to overwhelm a server by requesting the same field multiple times in a single query. This can cause the server to perform redundant computations and consume excessive resources, leading to a denial of service for legitimate users. Request to the endpoint /graphql are sent when visualizing graphs generated at a dashboard. By modifying the data sent and duplicating many times the fields a DoS attack is possible. This vulnerability is fixed in 10.12.0.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| directus @directus/env(npm) | < 1.1.6 | 1.1.6 | Fixed |
| monospace directus | < 10.12.0 | 10.12.0 | Fixed |
| directus | = < 10.12.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| directus @directus/env(npm) | < 1.1.6 | 1.1.6 |
| directus | = < 10.12.0 | No fix listed |
| monospace directus | < 10.12.0 | 10.12.0 |
References
- https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8 patch
- github.com
- github.com product