Skip to main content
← All vulnerabilities
CVE-2026-41173GHSA-28XM-PRXC-5866

Unbounded HTTP response body read in OpenTelemetry.Sampler.AWS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.0-alpha.8, 1.15.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • open-telemetry opentelemetry-dotnet-contrib

    fixed in 0.1.0-alpha.8

  • OpenTelemetry.Sampler.AWSNuGet

    fixed in 0.1.0-alpha.8

  • OpenTelemetry.Resources.AWSNuGet

    fixed in 1.15.1

References 2

GitHub · open-telemetry/opentelemetry-dotnet-contrib