PT-2026-60364
CVE-2026-50276
·
Published
2026-07-15
·
Updated
2026-09-25
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
dd-trace-rb versions prior to 2.32.0
Description
An issue exists in the W3C baggage extraction process where the library fails to enforce limits on the number of items or the total byte size of the baggage HTTP header. While limits are applied during injection, they are ignored during extraction. A remote unauthenticated attacker can exploit this by sending a baggage HTTP header containing a single very large value or numerous comma-separated key-value pairs. This causes the tracer to allocate hash-map entries for each pair on every request, leading to unbounded CPU and memory consumption. This can result in a denial of service for HTTP services where the baggage propagation style is enabled, which is the default configuration for most affected tracers. The relevant configuration variables involved are
DD TRACE BAGGAGE MAX ITEMS and DD TRACE BAGGAGE MAX BYTES.Recommendations
Update dd-trace-rb to version 2.32.0 or later.
Disable baggage extraction by removing baggage from the
DD TRACE PROPAGATION STYLE or DD TRACE PROPAGATION STYLE EXTRACT variables.
Cap the maximum HTTP request header size at an upstream proxy or web server. Found an issue in the description? Have something to add? Feel free to write us 👾