|
| 1 | +--- |
| 2 | +gem: datadog |
| 3 | +cve: 2026-50276 |
| 4 | +ghsa: p5f6-rccc-jv98 |
| 5 | +url: https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-50276 |
| 6 | +title: dd-trace-rb - Improper parsing of W3C baggage headers may lead to DoS |
| 7 | +date: 2026-07-15 |
| 8 | +description: | |
| 9 | + ### Impact |
| 10 | +
|
| 11 | + Datadog tracing libraries that implement W3C baggage propagation parse |
| 12 | + incoming baggage HTTP headers without enforcing item-count or byte-size |
| 13 | + limits on the extract path. The DD_TRACE_BAGGAGE_MAX_ITEMS (default 64) |
| 14 | + and DD_TRACE_BAGGAGE_MAX_BYTES (default 8192) limits were applied only |
| 15 | + to baggage injection, not extraction. A remote, unauthenticated attacker |
| 16 | + can send a request whose baggage header contains an arbitrarily large |
| 17 | + number of comma-separated key-value pairs (or a single very large value). |
| 18 | + The tracer allocates a hash-map entry for each pair on every request, |
| 19 | + causing unbounded CPU and memory consumption and enabling a remote |
| 20 | + Denial of Service against any HTTP service that has the baggage |
| 21 | + propagation style enabled. |
| 22 | + The baggage propagation style is enabled by default in most affected |
| 23 | + tracers, so any internet-facing service that has been instrumented |
| 24 | + with an affected tracer version is exposed unless the propagation |
| 25 | + style has been explicitly narrowed. |
| 26 | +cvss_v3: 7.5 |
| 27 | +patched_versions: |
| 28 | + - ">= 2.32.0" |
| 29 | +related: |
| 30 | + url: |
| 31 | + - https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-50276 |
| 32 | + - https://nvd.nist.gov/vuln/detail/CVE-2026-50276 |
| 33 | + - https://rubygems.org/gems/datadog/versions/2.32.0 |
| 34 | + - https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md#2320---2026-05-08 |
| 35 | + - https://advisories.gitlab.com/gem/datadog/CVE-2026-50276 |
| 36 | + - https://github.com/open-telemetry/opentelemetry-go/security/advisories/GHSA-mh2q-q3fh-2475 |
| 37 | + - https://github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-g94r-2vxg-569j |
| 38 | + - https://github.com/DataDog/dd-trace-rb/security/advisories/GHSA-p5f6-rccc-jv98 |
| 39 | + - https://github.com/advisories/GHSA-p5f6-rccc-jv98 |
| 40 | +notes: | |
| 41 | + - cvss_v3 value comes from GHSA. |
| 42 | + - No CVE. |
0 commit comments