7.5high
Datadog .NET Tracer: Improper parsing of W3C baggage headers may lead to DoS
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-38wr-vpc7-2mp4
Description
Datadog .NET Tracer is a client library for Datadog APM for .NET applications. Prior to 3.43.0, Datadog tracing libraries that implement W3C baggage propagation parse incoming baggage HTTP headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES on extraction, allowing a remote unauthenticated attacker to send a baggage header with many comma-separated key-value pairs or one very large value and cause unbounded CPU and memory consumption in services with baggage propagation enabled. This issue is fixed in version 3.43.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| DataDog dd-trace-dotnet | < 3.43.0 | CVE List |
| Datadog.Trace (NuGet) | before 3.43.0 | GitHub Advisory Database |
| Datadog.Trace.OpenTracing (NuGet) | before 3.43.0 | GitHub Advisory Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
Datadog .NET Tracer is a client library for Datadog APM for .NET applications. Prior to 3.43.0, Datadog tracing libraries that implement W3C baggage propagation parse incoming baggage HTTP headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES on extraction, allowing a remote unauthenticated attacker to send a baggage header with many comma-separated key-value pairs or one very large value and cause unbounded CPU and memory consumption in services with baggage propagation enabled. This issue is fixed in version 3.43.0.
GitHub Advisory Database
Impact
Datadog tracing libraries that implement W3C baggage propagation parse incoming baggage HTTP headers without enforcing item-count or byte-size limits on the extract path. The DD_TRACE_BAGGAGE_MAX_ITEMS (default 64) and DD_TRACE_BAGGAGE_MAX_BYTES (default 8192) limits were applied only to baggage injection, not extraction. A remote, unauthenticated attacker can send a request whose baggage header contains an arbitrarily large number of comma-separated key-value pairs (or a single very large value). The tracer allocates a hash-map entry for each pair on every request, causing unbounded CPU and memory consumption and enabling a remote Denial of Service against any HTTP service that has the baggage propagation style enabled. The baggage propagation style is enabled by default in most affected tracers, so any internet-facing service that has been instrumented with an affected tracer version is exposed unless the propagation style has been explicitly narrowed.
Patches
This is resolved in version 3.43.0 and later of the dd-trace-dotnet library.
Workarounds
If users cannot upgrade immediately:
- Disable
baggageextraction by removingbaggagefromDD_TRACE_PROPAGATION_STYLE(orDD_TRACE_PROPAGATION_STYLE_EXTRACTif set independently). - Cap the maximum HTTP request header size at an upstream proxy or web server (for example, Apache
LimitRequestFieldSize, Nginxlarge_client_header_buffers, Envoymax_request_headers_kb).
Resources
Related upstream advisories: opentelemetry-go GHSA-mh2q-q3fh-2475 opentelemetry-dotnet GHSA-g94r-2vxg-569j
NVD (es)
Datadog .NET Tracer es una biblioteca cliente para Datadog APM para aplicaciones .NET. Antes de la versión 3.43.0, las bibliotecas de rastreo de Datadog que implementan la propagación de equipaje W3C analizan los encabezados HTTP de equipaje entrantes sin aplicar DD_TRACE_BAGGAGE_MAX_ITEMS o DD_TRACE_BAGGAGE_MAX_BYTES en la extracción, permitiendo a un atacante remoto no autenticado enviar un encabezado de equipaje con muchos pares clave-valor separados por comas o un valor muy grande y causar un consumo ilimitado de CPU y memoria en servicios con la propagación de equipaje habilitada. Este problema está solucionado en la versión 3.43.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50273 changed 2026-07-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-38wr-vpc7-2mp4 changed 2026-07-15 | CC-BY-4.0 |
| NVD | CVE-2026-50273 changed 2026-10-24 | Public domain |