{"id":"GHSA-gpwf-4h98-v82q","revision":"d083ca8c633247398bf2c18bed145dc9","records":[{"revision":"d083ca8c633247398bf2c18bed145dc9","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-gpwf-4h98-v82q","aliases":["CVE-2026-54788"],"title":"datadog-opentelemetry has unbounded W3C tracestate parsing that may lead to DoS","description":"### Impact\nDatadog 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.\n\n### Patches\nThis is resolved in version 0.3.3 and later of the `dd-trace-rs` library.\n\n### Workarounds\nIf you cannot upgrade immediately:\n1. Disable `tracecontext` extraction by setting `DD_TRACE_PROPAGATION_STYLE_EXTRACT` to a value that does not include `tracecontext` (for example, `datadog`).\n2. Cap the maximum HTTP request header size at an upstream proxy or web server.","state":0,"publishedAt":"2026-08-28T16:35:03+00:00","modifiedAt":"2026-08-28T16:55:35.433397+00:00","affected":[{"ecosystem":"crates.io","name":"datadog-opentelemetry","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.1.0"},{"kind":"fixed","version":"0.3.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/DataDog/dd-trace-rs/security/advisories/GHSA-gpwf-4h98-v82q","https://github.com/DataDog/dd-trace-rs/pull/218","https://github.com/DataDog/dd-trace-rs/commit/77c5d185c71d0ea8103da0e6cf4cd50677ffacd2","https://github.com/DataDog/dd-trace-rs","https://github.com/DataDog/dd-trace-rs/releases/tag/datadog-opentelemetry-v0.3.3"],"sourceUrl":"https://github.com/advisories/GHSA-gpwf-4h98-v82q","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gpwf-4h98-v82q","identifiers":["GHSA-gpwf-4h98-v82q","CVE-2026-54788"]},"retained":false,"historicalAffected":[]}],"coverage":[]}