GHSA-gpwf-4h98-v82q

Suggest an improvement
Source
https://github.com/advisories/GHSA-gpwf-4h98-v82q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-gpwf-4h98-v82q/GHSA-gpwf-4h98-v82q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gpwf-4h98-v82q
Aliases
Published
2026-08-28T16:35:03Z
Modified
2026-08-28T16:55:35Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
datadog-opentelemetry has unbounded W3C tracestate parsing that may lead to DoS
Details

Impact

Datadog tracing libraries that implement W3C Trace Context (tracecontext) propagation parse the incoming tracestate header without enforcing a size cap on the Datadog vendor entry (dd=...). The dd= value contains semicolon-separated key:value pairs, and the parser allocates a hash-map entry for each pair. A remote, unauthenticated attacker can send a tracestate header whose dd= member is arbitrarily large (or contains an arbitrarily large number of pairs), forcing unbounded CPU and memory consumption per request and enabling a remote Denial of Service. tracecontext extraction is enabled by default in affected tracers, so any internet-facing service instrumented with an affected version is exposed unless tracecontext has been explicitly removed from the propagation style configuration.

Patches

This is resolved in version 0.3.3 and later of the dd-trace-rs library.

Workarounds

If you cannot upgrade immediately:

  1. Disable tracecontext extraction by setting DD_TRACE_PROPAGATION_STYLE_EXTRACT to a value that does not include tracecontext (for example, datadog).
  2. Cap the maximum HTTP request header size at an upstream proxy or web server.
Database specific
{
    "cwe_ids": [
        "CWE-770"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-08-28T16:35:03Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

crates.io / datadog-opentelemetry

Package

Name
datadog-opentelemetry
View open source insights on deps.dev
Purl
pkg:cargo/datadog-opentelemetry

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0
Fixed
0.3.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-gpwf-4h98-v82q/GHSA-gpwf-4h98-v82q.json"