GHSA-p5f6-rccc-jv98: dd-trace-rb: Improper parsing of W3C baggage headers may lead to DoS
Datadog's dd-trace-rb library versions prior to 2.32.0 improperly parse W3C baggage HTTP headers without enforcing limits on the number or size of items during extraction. This allows a remote unauthenticated attacker to send requests with excessively large or numerous baggage header entries, causing unbounded CPU and memory consumption. This can lead to a denial of service (DoS) against any HTTP service instrumented with the affected tracer version that has baggage propagation enabled. The vulnerability is resolved in version 2.32.0 and later.
AI Analysis
Technical Summary
The dd-trace-rb library used for Datadog tracing implements W3C baggage propagation but fails to enforce limits on the number of items or total byte size when extracting baggage headers from incoming HTTP requests. While limits exist for baggage injection, extraction lacks these controls, allowing attackers to craft requests with arbitrarily large or numerous baggage entries. Each key-value pair causes the tracer to allocate a hash-map entry, leading to unbounded CPU and memory usage. This vulnerability enables remote, unauthenticated denial of service attacks on services using affected versions with baggage propagation enabled by default. The issue is fixed in dd-trace-rb version 2.32.0 and later.
Potential Impact
A remote unauthenticated attacker can cause a denial of service by sending HTTP requests with excessively large or numerous W3C baggage header entries. This triggers unbounded CPU and memory consumption in the tracer, potentially disrupting service availability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade to dd-trace-rb version 2.32.0 or later to apply the official fix. If immediate upgrade is not possible, mitigate by disabling baggage extraction via configuration (removing 'baggage' from DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT). Additionally, limit the maximum HTTP request header size at upstream proxies or web servers (e.g., Apache LimitRequestFieldSize, Nginx large_client_header_buffers, Envoy max_request_headers_kb) to reduce risk.
GHSA-p5f6-rccc-jv98: dd-trace-rb: Improper parsing of W3C baggage headers may lead to DoS
Description
Datadog's dd-trace-rb library versions prior to 2.32.0 improperly parse W3C baggage HTTP headers without enforcing limits on the number or size of items during extraction. This allows a remote unauthenticated attacker to send requests with excessively large or numerous baggage header entries, causing unbounded CPU and memory consumption. This can lead to a denial of service (DoS) against any HTTP service instrumented with the affected tracer version that has baggage propagation enabled. The vulnerability is resolved in version 2.32.0 and later.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The dd-trace-rb library used for Datadog tracing implements W3C baggage propagation but fails to enforce limits on the number of items or total byte size when extracting baggage headers from incoming HTTP requests. While limits exist for baggage injection, extraction lacks these controls, allowing attackers to craft requests with arbitrarily large or numerous baggage entries. Each key-value pair causes the tracer to allocate a hash-map entry, leading to unbounded CPU and memory usage. This vulnerability enables remote, unauthenticated denial of service attacks on services using affected versions with baggage propagation enabled by default. The issue is fixed in dd-trace-rb version 2.32.0 and later.
Potential Impact
A remote unauthenticated attacker can cause a denial of service by sending HTTP requests with excessively large or numerous W3C baggage header entries. This triggers unbounded CPU and memory consumption in the tracer, potentially disrupting service availability. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Upgrade to dd-trace-rb version 2.32.0 or later to apply the official fix. If immediate upgrade is not possible, mitigate by disabling baggage extraction via configuration (removing 'baggage' from DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT). Additionally, limit the maximum HTTP request header size at upstream proxies or web servers (e.g., Apache LimitRequestFieldSize, Nginx large_client_header_buffers, Envoy max_request_headers_kb) to reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-p5f6-rccc-jv98
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50276"]
- Ecosystems
- ["RubyGems"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a58b40468715ace43d67025
Added to database: 07/16/2026, 10:35:48 UTC
Last enriched: 07/16/2026, 10:47:43 UTC
Last updated: 07/16/2026, 10:47:43 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.