GHSA-w9wp-h8wv-79jx

Suggest an improvement
Source
https://github.com/advisories/GHSA-w9wp-h8wv-79jx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-w9wp-h8wv-79jx/GHSA-w9wp-h8wv-79jx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-w9wp-h8wv-79jx
Aliases
Downstream
CGA (34)
MINI (6)
Published
2026-06-25T18:40:04Z
Modified
2026-09-10T03:50:50Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
opentelemetry_sdk has unbounded memory allocation in W3C Baggage propagation
Details

Summary

BaggagePropagator::extract_with_context in opentelemetry_sdk did not enforce the W3C Baggage size limits before parsing an inbound baggage header. A large attacker-controlled header could cause unnecessary CPU work and short-lived heap allocations while parsing entries that would later be discarded by the SDK's baggage storage limits.

The SDK now applies limits aligned with the W3C Baggage limits:

  • 64 list-members
  • 8192 bytes total

Impact

Services that accept untrusted inbound propagation headers may experience increased per-request resource usage when processing oversized baggage headers. This can contribute to denial-of-service risk, especially when application or transport-level header limits are absent or configured above the W3C Baggage limits.

The impact is limited to availability. This issue does not expose telemetry data, modify telemetry data, or allow code execution.

Patches

Upgrade opentelemetry_sdk to version 0.32.1 or later.

Version 0.32.1 rejects baggage header values larger than 8192 bytes and limits extraction to the first 64 list-members.

Workarounds

If upgrading immediately is not possible, reject or limit inbound baggage headers larger than 8192 bytes before invoking OpenTelemetry propagation extraction. This can be enforced at a proxy, gateway, middleware layer, or custom carrier boundary.

Resources

Credit

tonghuaroot

Database specific
{
    "cwe_ids":  [
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-25T18:40:04Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

crates.io / opentelemetry_sdk

Package

Name
opentelemetry_sdk
View open source insights on deps.dev
Purl
pkg:cargo/opentelemetry_sdk

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.32.1

Database specific

last_known_affected_version_range
"<= 0.32.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-w9wp-h8wv-79jx/GHSA-w9wp-h8wv-79jx.json"