CVE-2024-39895 json
Directus GraphQL Field Duplication Denial of Service (DoS)
published 2024-07-08 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2287 , GHSA-7hmh-pfrp-vcx4
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @directus/env | <1.1.6 |
1.1.6 |
Affected products
- directus directus
- monospace directus
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8
web, patch
-
github.com
/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-39895
advisory
-
github.com
/directus/directus
package
Sources
- CVE List CVE-2024-39895
- GitHub Advisory GHSA-7hmh-pfrp-vcx4
- NVD CVE-2024-39895
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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.