CVE Catalog

CVE-2026-41173

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

23th percentile - higher than 23% of all known CVEs

Summary

In the AWS X-Ray Remote Sampler package (OpenTelemetry.Sampler.AWS) prior to 0.1.0-alpha.8, unbounded HTTP response bodies are read from a configured AWS X-Ray remote sampling endpoint into memory. AWSXRaySamplerClient.DoRequestAsync calls HttpClient.SendAsync followed by ReadAsStringAsync(), materializing the entire response body into a single in-memory string with no size limit. An attacker controlling the endpoint or intercepting traffic (MitM) can return an arbitrarily large response body, causing memory exhaustion.

Risk Assessment

High transient memory pressure, garbage-collection stalls, or an OutOfMemoryException terminating the process may occur. The risk exists when the endpoint is attacker-controlled or a MitM is possible.

Recommendation

Update the package to version 0.1.0-alpha.8 or later, which fixes the vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS