CVE-2024-39895
JavaScript vulnerability analysis and mitigation

Overview

A denial of service (DoS) vulnerability (CVE-2024-39895) was discovered in Directus, a real-time API and App dashboard for managing SQL database content. The vulnerability affects versions prior to 10.12.0 and involves field duplication in GraphQL queries. The issue was disclosed on July 8, 2024, and has been assigned a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, NVD).

Technical details

The vulnerability exploits the flexibility of GraphQL by allowing attackers to request the same field multiple times in a single query to the /graphql endpoint. When visualizing graphs generated at a dashboard, an attacker can modify the data sent and duplicate fields numerous times, causing the server to perform redundant computations and consume excessive resources. The vulnerability has been assigned CWE-400 (Uncontrolled Resource Consumption) and requires low attack complexity with network vector access (GitHub Advisory).

Impact

When exploited, this vulnerability can cause the Directus service to become unresponsive for several minutes. An attacker could potentially send continuous requests to the server, leading to indefinite service unavailability. The attack specifically impacts system availability while maintaining no effect on confidentiality or integrity (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Directus version 10.12.0. The fix includes the addition of a configurable max token limit for GraphQL queries through the 'GRAPHQLQUERYTOKEN_LIMIT' parameter, which defaults to 5000 tokens (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management