{"id":"CVE-2026-41173","published":"2026-04-23T18:22:31Z","modified":"2026-04-23T19:16:04Z","title":"Unbounded HTTP response body read in OpenTelemetry.Sampler.AWS","vendor":"open-telemetry","product":"opentelemetry-dotnet-contrib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00313,"percentile":0.24851,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-28xm-prxc-5866","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4100","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.97},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"open-telemetry","affectedVersions":[{"vendor":"open-telemetry","product":"opentelemetry-dotnet-contrib","versions":["< 0.1.0-alpha.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-23T19:11:43.914906Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"OpenTelemetry.Sampler.AWS","vulnerableRanges":["<0.1.0-alpha.8"],"patched":["0.1.0-alpha.8"],"from":["GHSA-28xm-prxc-5866"],"provenance":"source"},{"ecosystem":"NuGet","package":"OpenTelemetry.Resources.AWS","vulnerableRanges":["<1.15.1"],"patched":["1.15.1"],"from":["GHSA-28xm-prxc-5866"],"provenance":"source"}],"summary":{"text":"The OpenTelemetry.Sampler.AWS package in opentelemetry-dotnet-contrib reads entire HTTP response bodies from the configured AWS X-Ray remote sampling endpoint into memory with no size limit. An attacker who controls that endpoint, or can intercept traffic to it through a man-in-the-middle position, can return an arbitrarily large response and force unbounded memory allocation that degrades or terminates the consuming process, and the attack requires a configured endpoint that the attacker controls or can reach on the network path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:07Z"},"euvd":{"id":"EUVD-2026-25271","exploited":false,"provenance":"source"}}