ReDOS in URL query string obfuscation
Published: October 13, 2026
SECURITY IDENTIFIERS
- GHSA: GHSA-p7cx-x3jr-jj6w
- Vendor Advisory: https://github.com/DataDog/dd-trace-rb/security/advisories/GHSA-p7cx-x3jr-jj6w
GEM
PATCHED VERSIONS
>= 2.45.0
DESCRIPTION
SUMMARY
A regular expression used to obfuscate URL query strings can consume excessive CPU when processing certain attacker-controlled input. This can stall request processing and cause denial of service in applications using affected HTTP tracing integrations.
Impact
Regular expression denial of service (ReDoS) affecting applications that process attacker-controlled URL query strings through the vulnerable obfuscation pattern. Successful exploitation can cause excessive CPU consumption, prolonged request latency, and service unavailability.
Only Ruby versions below 3.2 are affected, and the query obfuscation feature is disabled by default.
