{"id":"CVE-2024-39895","published":"2024-07-08T16:47:44Z","modified":"2024-08-02T04:33:11Z","title":"Directus GraphQL Field Duplication Denial of Service (DoS)","vendor":"directus","product":"directus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00795,"percentile":0.57321,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-7hmh-pfrp-vcx4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":11.46},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"directus","affectedVersions":[{"vendor":"directus","product":"directus","versions":["< 10.12.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-09T13:22:38.687877Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@directus/env","vulnerableRanges":["<1.1.6"],"patched":["1.1.6"],"from":["GHSA-7hmh-pfrp-vcx4"],"provenance":"source"}],"summary":{"text":"The flaw is an uncontrolled resource consumption issue in Directus, a real-time API and dashboard for managing SQL database content, located in its GraphQL endpoint at /graphql, which the dashboard calls when rendering graphs. An attacker with low-privilege authenticated access over the network can send a single GraphQL query that repeats the same field many times, forcing the server into redundant computation that exhausts resources and denies service to legitimate users, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:36Z"},"euvd":{"id":"EUVD-2024-2287","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-directus-cve-2024-28239","parents":[{"from":"CVE-2024-28239","to":"CVE-2024-39895","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/env/src/constants/directus-variables.ts"],"commits":["https://github.com/directus/directus/commit/5477d7d61babd7ffc2f835d399bf79611b15b203","https://github.com/directus/directus/commit/543b345695071c1de61a35004bd063fe59dba0c8"],"basis":"rarely changed file"}]}]}}