Technical impact
Datadog dd‑trace‑py, the Python APM client for DataDog, contains a regular expression used for URL query‑string obfuscation that can trigger excessive backtracking when processing attacker‑controlled query strings. This ReDOS condition can cause significant CPU consumption, increase request latency, and lead to service unavailability in HTTP tracing integrations that include query strings in span tags. The vulnerability is classified as CWE‑1333.
Affected Systems
DataDog dd‑trace‑py versions from 1.5.0 through 3.19.8, and any 4.15.x releases prior to 4.15.6 are affected. Fixed releases are 3.19.9 and 4.15.6. External applications that instrument HTTP endpoints with dd‑trace‑py and record query strings in URL span tags may be impacted.
Risk and Exploitability
The CVSS score of 8.7 indicates a high severity vulnerability. The exploit can be launched by an external attacker who sends crafted URLs to an HTTP endpoint instrumented with dd‑trace‑py and configured to capture query strings. Authentication is not required; the attack is possible over the public network. EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog.
Github GHSA