Technical impact
The dd‑trace‑js client for Node.js contains a regular‑expression‑denial‑of‑service flaw in the default obfuscation pattern for URL query strings. The pattern, activated whenever the package records HTTP URL data, can trigger excessive backtracking when a malicious query string is supplied, consuming disproportionate CPU cycles. As a result, the request handling thread stalls, HTTP responses are delayed or dropped, and the instrumented application can be rendered effectively unavailable for legitimate traffic. The weakness is a ReDOS bug identified as CWE‑1333.
Affected Systems
The vulnerability affects the DataDog dd‑trace‑js library from version 2.0.0 up to, but not including, 5.131.1 and 6.20.1. Versions 5.131.1 and 6.20.1 forward contain the fix and are therefore not susceptible. The affected product is the Node.js Datadog APM client, deployed in any Node.js application that imports or requires the dd‑trace module and uses its HTTP tracing features.
Risk and Exploitability
The flaw has a CVSS score of 8.7, indicating high severity. EPSS data is unavailable, and the vulnerability is not listed in the CISA KEV catalog, but its nature—synchronous CPU exhaustion via crafted HTTP requests—makes it likely to be exploitable by remote actors who can send malformed query strings to any exposed HTTP endpoint. Attack capitalizes on normal application traffic and does not require authentication, making it broadly usable. The absence of network‑layer restrictions means the attack vector is remote over HTTP/HTTPS, and the impact is immediate denial of service for the instrumented service.
Github GHSA