Skip to content

CVE-2026-41173 Unbounded HTTP response body read in OpenTelemetry.Sampler.AWS

MediumCVSS 5.9 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Cloud Platforms

Description

The AWS X-Ray Remote Sampler package provides a sampler which can get sampling configurations from AWS X-Ray. Prior to 0.1.0-alpha.8, OpenTelemetry.Sampler.AWS reads unbounded HTTP response bodies from a configured AWS X-Ray remote sampling endpoint into memory. AWSXRaySamplerClient.DoRequestAsync called HttpClient.SendAsync followed by ReadAsStringAsync(), which materializes the entire HTTP response body into a single in-memory string with no size limit. The sampling endpoint is configurable via AWSXRayRemoteSamplerBuilder.SetEndpoint (default: http://localhost:2000). An attacker who controls the configured endpoint, or who can intercept traffic to it (MitM), can return an arbitrarily large response body. This causes unbounded heap allocation in the consuming process, leading to high transient memory pressure, garbage-collection stalls, or an OutOfMemoryException that terminates the process. This vulnerability is fixed in 0.1.0-alpha.8.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
nuget OpenTelemetry.Resources.AWS(NuGet) < 1.15.1; = 1.11.0; = 1.11.1; = 1.14.0 +1 more 1.15.1 Fixed
nuget OpenTelemetry.Sampler.AWS(NuGet) < 0.1.0-alpha.8 0.1.0-alpha.8 Fixed
open-telemetry opentelemetry-dotnet-contrib = < 0.1.0-alpha.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
open-telemetry opentelemetry-dotnet-contrib = < 0.1.0-alpha.8 No fix listed
nuget OpenTelemetry.Sampler.AWS(NuGet) < 0.1.0-alpha.8 0.1.0-alpha.8
nuget OpenTelemetry.Resources.AWS(NuGet) < 1.15.1 1.15.1
nuget OpenTelemetry.Resources.AWS(NuGet) = 1.11.0 No fix listed
nuget OpenTelemetry.Resources.AWS(NuGet) = 1.11.1 No fix listed
nuget OpenTelemetry.Resources.AWS(NuGet) = 1.14.0 No fix listed
nuget OpenTelemetry.Resources.AWS(NuGet) = 1.15.0 No fix listed

References