DataDog dd-trace-go
dd-trace-go: Improper parsing of W3C baggage headers may lead to DoS
Datadog dd-trace-go is a Go client library for Datadog application performance monitoring, profiling, and security monitoring. Prior to 2.8.1, 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 limits on the extract path. 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, causing unbounded CPU and memory consumption and enabling a remote denial of service against HTTP services with baggage propagation enabled. This issue is fixed in version 2.8.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.8.1
Fixed in 2.8.1
Mitigation
Upgrade dd-trace-go to 2.8.1 or later.
References
- Vendor advisory github.com/DataDog/dd-trace-go/security/adviso…
- Patch github.com/DataDog/dd-trace-go/pull/4720
- Patch github.com/DataDog/dd-trace-go/commit/192712ba…
1 more
- Release notes github.com/DataDog/dd-trace-go/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.