Repository navigation
[SECURITY] Update Rust crate opentelemetry_sdk to 0.33.0 [SECURITY] - #2020
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
auguwu and
spotlightishere
as code owners
September 18, 2026 21:48
renovate
Bot
force-pushed
the
renovate/crate-opentelemetry_sdk-vulnerability
branch
3 times, most recently
from
October 3, 2026 18:13
3dc4c41 to
a1e761b
Compare
renovate
Bot
force-pushed
the
renovate/crate-opentelemetry_sdk-vulnerability
branch
from
October 3, 2026 18:15
a1e761b to
c91d808
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.32.0→0.33.0opentelemetry_sdk has unbounded memory allocation in W3C Baggage propagation
CVE-2026-48504 / GHSA-w9wp-h8wv-79jx
More information
Details
Summary
BaggagePropagator::extract_with_contextinopentelemetry_sdkdid not enforce the W3C Baggage size limits before parsing an inboundbaggageheader. 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:
Impact
Services that accept untrusted inbound propagation headers may experience increased per-request resource usage when processing oversized
baggageheaders. 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_sdkto version0.32.1or later.Version
0.32.1rejectsbaggageheader 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
baggageheaders 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
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
open-telemetry/opentelemetry-rust (opentelemetry_sdk)
v0.33.0Released 2026-Sep-18
OTEL_*/OTEL_*_DEFAULTenvironment variable name anddefault value constants for
BatchSpanProcessor(opentelemetry_sdk::trace),BatchLogProcessor(opentelemetry_sdk::logs), andPeriodicReader(
opentelemetry_sdk::metrics), so downstream configuration systems can readthe SDK's spec-defined defaults programmatically instead of duplicating
them. As part of this,
PeriodicReader's previously-privateDEFAULT_INTERVAL/METRIC_EXPORT_INTERVAL_NAMEconstants were renamedto
OTEL_METRIC_EXPORT_INTERVAL_DEFAULT/OTEL_METRIC_EXPORT_INTERVALtomatch the naming convention already used elsewhere.
(#3623)
experimental_metrics_bound_instruments:otel.sdk.log.createdcounts logrecords submitted to the SDK;
otel.sdk.processor.log.processedandotel.sdk.processor.span.processedcount records and spans submitted to anexporter by batch and simple processors, with
error.typereporting itemsdropped before submission; and
otel.sdk.processor.log.queue.capacityreports the configured
BatchLogProcessorqueue capacity.(#3514,
#3608,
#3609,
#3611)
futures-channel,futures-executor,futures-util, andthiserroroptional, enabling a minimal SDK build. With
default-features = false, theSDK's only dependency is the
opentelemetryAPI crate.(#3593)
GaugeandUpDownCountervia thenew
BoundGauge<T>andBoundUpDownCounter<T>types exposed by theopentelemetrycrate. Requires theexperimental_metrics_bound_instrumentsfeature.
BatchSpanProcessorandBatchLogProcessorwhere aspan/log enqueued just before
force_flush()orshutdown()could bemissed by the flush and dropped at shutdown: the pending-item counter is
now incremented before enqueueing (and reverted if the queue is full), so
the worker's counter snapshot can no longer under-count items already in
the queue (#3453).
unknown_serviceunderMiri instead of calling
std::env::current_exe(), avoiding an abort in Miriisolation mode while preserving the normal
unknown_service:<process.executable.name>fallback outside Miri.ObservableCounter,ObservableUpDownCounter)using delta temporality reporting incorrect deltas when observed attributes
were recorded in an unsorted key order.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.