GHSA-74xj-wh4w-vqxc: dd-trace-java: Improper parsing of W3C baggage headers may lead to DoS
Datadog's dd-trace-java library versions prior to 1.62.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 items, causing unbounded CPU and memory consumption. This can lead to a denial of service (DoS) against HTTP services instrumented with affected tracer versions that have baggage propagation enabled. The issue is resolved in version 1.62.0 and later.
AI Analysis
Technical Summary
The dd-trace-java library improperly handles W3C baggage headers by not enforcing the configured maximum item count and byte size limits during baggage extraction, only during injection. This flaw allows an attacker to craft HTTP requests with baggage headers containing an arbitrarily large number of key-value pairs or very large values. Each pair results in a hash-map allocation on every request, leading to unbounded resource consumption and enabling remote denial of service attacks on services using the affected tracer versions with baggage propagation enabled. The vulnerability affects versions prior to 1.62.0 and is fixed in 1.62.0 and later.
Potential Impact
A remote unauthenticated attacker can cause a denial of service by sending specially crafted HTTP requests with large or numerous baggage header items, leading to excessive CPU and memory usage on the affected service. This impacts availability but does not affect confidentiality or integrity.
Mitigation Recommendations
A fix is available in dd-trace-java version 1.62.0 and later; upgrading to these versions remediates the vulnerability. If immediate upgrade is not possible, users should disable baggage extraction by removing 'baggage' from the DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT environment variables. Additionally, capping 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) can mitigate exploitation.
GHSA-74xj-wh4w-vqxc: dd-trace-java: Improper parsing of W3C baggage headers may lead to DoS
Description
Datadog's dd-trace-java library versions prior to 1.62.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 items, causing unbounded CPU and memory consumption. This can lead to a denial of service (DoS) against HTTP services instrumented with affected tracer versions that have baggage propagation enabled. The issue is resolved in version 1.62.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-java library improperly handles W3C baggage headers by not enforcing the configured maximum item count and byte size limits during baggage extraction, only during injection. This flaw allows an attacker to craft HTTP requests with baggage headers containing an arbitrarily large number of key-value pairs or very large values. Each pair results in a hash-map allocation on every request, leading to unbounded resource consumption and enabling remote denial of service attacks on services using the affected tracer versions with baggage propagation enabled. The vulnerability affects versions prior to 1.62.0 and is fixed in 1.62.0 and later.
Potential Impact
A remote unauthenticated attacker can cause a denial of service by sending specially crafted HTTP requests with large or numerous baggage header items, leading to excessive CPU and memory usage on the affected service. This impacts availability but does not affect confidentiality or integrity.
Mitigation Recommendations
A fix is available in dd-trace-java version 1.62.0 and later; upgrading to these versions remediates the vulnerability. If immediate upgrade is not possible, users should disable baggage extraction by removing 'baggage' from the DD_TRACE_PROPAGATION_STYLE or DD_TRACE_PROPAGATION_STYLE_EXTRACT environment variables. Additionally, capping 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) can mitigate exploitation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-74xj-wh4w-vqxc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50270"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a58b40468715ace43d67064
Added to database: 07/16/2026, 10:35:48 UTC
Last enriched: 07/16/2026, 10:48:39 UTC
Last updated: 07/17/2026, 03:34:21 UTC
Views: 6
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.