Update dependency OpenTelemetry.Api to 1.15.3 [SECURITY]#792
Open
renovate[bot] wants to merge 1 commit into
Open
Update dependency OpenTelemetry.Api to 1.15.3 [SECURITY]#792renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
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:
1.5.1→1.15.3Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
OpenTelemetry dotnet: Excessive memory allocation when parsing OpenTelemetry propagation headers
CVE-2026-40894 / GHSA-g94r-2vxg-569j
More information
Details
Summary
The implementation details of the baggage, B3 and Jaeger processing code in the
OpenTelemetry.ApiandOpenTelemetry.Extensions.PropagatorsNuGet packages can allocate excessive memory when parsing which could create a potential denial of service (DoS) in the consuming application.Details
Exceeding Limits
BaggagePropagator.Inject<T>()does not enforce the length limit of8192characters if the injected baggage contains only one item.This change was introduced by #1048.
Excessive allocation
The following methods eagerly allocate intermediate arrays before applying size limits.
BaggagePropagator.Extract<T>()- this change was introduced by #1048.BaggagePropagator.Inject<T>()- this change was introduced by #1048.B3Propagator.Extract<T>()- this change was introduced by #533.B3Propagator.Extract<T>()- this change was introduced by #3244.JaegerPropagator.Extract<T>()- this change was introduced by #3309.Impact
Excessively large propagation headers, particularly in degenerate/malformed cases that consist or large numbers of delimiter characters, can allocate excessive amounts of memory for intermediate storage of parsed content relative to the size of the original input.
Mitigation
HTTP servers often set maximum limits on the length of HTTP request headers, such as Internet Information Services (IIS) which sets a default limit of 16KB and nginx which sets a default limit of 8KB.
Workarounds
Possible workarounds include:
Remediation
#7061 refactors the handling of baggage, B3 and Jaeger propagation headers to stop parsing eagerly when limits are exceeded and avoid allocating intermediate arrays.
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-dotnet (OpenTelemetry.Api)
v1.15.3Release details: 1.15.3
tracestateparsing to reject keys that do notbegin with a lowercase letter, including keys beginning with digits, to
align with the W3C Trace Context specification.
Disk retry now requires
OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATHwhen
OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY=diskis configured.OtlpLogExporternow usesIHttpClientFactoryon .NET 8+.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMITnot being applied.BaggagePropagatorto trim optional whitespace (OWS) around=separators when parsing the
baggageheader.BaggagePropagatorto strip baggage properties from values whenparsing the
baggageheader.LogRecord.LogLevelto preserveLogLevel.None.OTEL_TRACES_SAMPLER_ARGhandling for out-of-range values.traces storage directory.
serialization.
v1.15.2Release details: 1.15.2
export fails and error logging is enabled.
BatchExportProcessorandPeriodicExportingMetricReaderto enable the OpenTelemetry SDK to workin single-threaded WebAssembly environments such as Blazor and
Uno Platform.
v1.15.1Release details: 1.15.1
treats baggage names and values as case sensitive, aligning with the latest
Baggage API specification.
OpenTelemetry.ApiandOpenTelemetrySDK,including fixes for thread-safety, sampler edge cases, metrics precision,
and observable instrument lifecycle handling.
v1.15.0Release details: 1.15.0
ActivitySource.TelemetrySchemaUrland
Meter.TelemetrySchemaUrlproperties across exporters.CA certificate options).
OpenTelemetry.Exporter.Zipkinis deprecated and will stop receiving updatesin December 2026. Zipkin already supports OTLP ingestion.
Migrate to
OpenTelemetry.Exporter.OpenTelemetryProtocolas statedin the Deprecating Zipkin Exporter blog post.
v1.14.0Release details: 1.14.0
net8.0, the package now depends on version8.0.0of theMicrosoft.Extensions.DependencyInjection.Abstractions,Microsoft.Extensions.Diagnostics.Abstractions,Microsoft.Extensions.Hosting.AbstractionsandMicrosoft.Extensions.Logging.ConfigurationNuGet packages.System.Diagnostics.DiagnosticSourcedependency to10.0.0for all target frameworks.
Microsoft.Extensions.*dependencies to10.0.0for .NET Framework and .NET Standard.
(
.sigstore.json) for digital signatures instead of separate signature(
.sig) and certificate (.pem) files. This requires cosign 3.0 or laterfor verification. See the Digital signing
section for updated verification instructions.
v1.13.1Release details: 1.13.1
1.13.0, the digital signature (.dll-keyless.sig) andcertificate (
.dll-keyless.pem) files were unintentionally omitted from thepublished NuGet packages.
(
net462,netstandard2.0,netstandard2.1,net8.0,net9.0), ensuringthe integrity of DLL verification using Sigstore cosign.
v1.13.0Release details: 1.13.0
OtlpExportProtocol.Grpcnow set the
TE=trailersHTTP request header to improve interoperability.EventNameis now exported by default asEventNameinstead oflogrecord.event.namewhen specified throughILoggeror the experimentallog bridge API.
v1.12.0Release details: 1.12.0
OpenTelemetry.Exporter.OpenTelemetryProtocolnowdefaults to using OTLP/HTTP instead of OTLP/gRPC when targeting .NET Framework
and .NET Standard. This change may cause telemetry export to fail unless
appropriate adjustments are made. Explicitly setting OTLP/gRPC may result in a
NotSupportedExceptionunless further configuration is applied. See#6209 for
full details and mitigation guidance. #6229
v1.11.1Release details: 1.11.1
OpenTelemetry.Exporter.OpenTelemetryProtocolfromexporting telemetry on .NET Framework.
v1.11.0Release details: 1.11.0
OpenTelemetry.Exporter.OpenTelemetryProtocolno longer depends on theGoogle.Protobuf,Grpc, orGrpc.Net.Clientpackages. Serialization andtransmission of outgoing data is now performed manually to improve the overall
performance.
v1.10.0Release details: 1.10.0
Bumped the package versions of
System.Diagnostic.DiagnosticSourceand otherMicrosoft.Extensions.* packages to
9.0.0.Added support for new APIs introduced in
System.Diagnostics.DiagnosticSource9.0.0:InstrumentAdvice<T>
For details see: Explicit bucket histogram
aggregation.
Gauge<T>
ActivitySource.Tags
(supported in OtlpExporter & ConsoleExporter)
Experimental features promoted to stable:
CardinalityLimitcan now be managed for individual metrics via the ViewAPI. For details see: Changing cardinality limit for a
Metric.
The overflow
attribute
(
otel.metric.overflow) behavior is now enabled by default. TheOTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTEenvironmentvariable is no longer required. For details see: Cardinality
Limits.
The MetricPoint reclaim behavior is now enabled by default when Delta
aggregation temporality is used. The
OTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTSenvironmentvariable is no longer required. For details see: Cardinality
Limits.
Added
OpenTelemetrySdk.CreateAPI for configuring OpenTelemetry .NET signals(logging, tracing, and metrics) via a single builder. This new API simplifies
bootstrap and teardown, and supports cross-cutting extensions targeting
IOpenTelemetryBuilder.Removed out of support
net6.0target and addednet9.0target.v1.9.0Release details: 1.9.0
Exemplarsare now part of the stable API! For details see: customizingexemplars
collection.
WithLoggingis now part of the stable API! Logging, Metrics, and Tracing cannow all be configured using the
Withstyle and the builders finally haveparity in their APIs.
v1.8.0Release details: 1.8.0
TracerProvidersampler can now be configured via theOTEL_TRACES_SAMPLER&OTEL_TRACES_SAMPLER_ARGenvvars.A new
UseOtlpExportercross-cutting extension has been added to register theOtlpExporterand enable all signals in a single call.exception.type,exception.message,exception.stacktracewill nowautomatically be included by the
OtlpLogExporterwhen logging exceptions.Previously an experimental environment variable had to be set.
v1.7.0Release details: 1.7.0
Bumped the package versions of System.Diagnostic.DiagnosticSource and other
Microsoft.Extensions.* packages to
8.0.0.Added
net8.0targets to all the components.OTLP Exporter
ILoggerCategoryNameas the instrumentation scope forlogs.
attributes.
Added support for the
IMetricsBuilder
API.
Added an experimental opt-in metrics feature to reclaim unused MetricPoints
which enables a higher number of unique dimension combinations to be emitted.
See reclaim unused metric
points
for more details.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.