OpenTelemetry.Resources.Azure CVE-2026-41483
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain network MitM position within VM environment
-
DeliveryIntercept HTTP GET to http://169.254.169.254/metadata/instance/compute
-
ExploitSubstitute arbitrarily large response body
-
ExecutionTrigger unbounded heap allocation in .NET HttpClient.GetStringAsync()
-
PersistExhaust managed heap memory
-
ImpactCrash process via OutOfMemoryException
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires one of two conditions: (1) the attacker can intercept and modify HTTP traffic between the .NET application and the Azure VM Instance Metadata Service at http://169.254.169.254 (MitM), which requires network-layer access within the VM or its hosting environment - the endpoint is a plain-HTTP link-local address with no TLS, so interception does not require certificate compromise; or (2) the attacker controls the configured IMDS endpoint (e.g., through environment variable or proxy misconfiguration). Additionally, the Azure VM resource detector must be enabled in the application's OpenTelemetry configuration - it is an opt-in component, not active by default in all installations. Exploitation is limited to the IMDS metadata-fetch phase (typically application startup or periodic resource refresh). Authentication against the application itself is not required (PR:N). What limits exploitation: gaining MitM position on the link-local 169.254.169.254 address is non-trivial in standard Azure VM environments; the impact is availability-only with no data exfiltration; and normal IMDS responses are small JSON payloads, so the attack cannot be triggered accidentally. |
| Impact | The NVD-assigned CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a network-reachable, unauthenticated DoS with high attack complexity - the high complexity accounts for the MitM prerequisite. EPSS at 0.04% (12th percentile) confirms negligible exploitation probability in observed threat intelligence, consistent with the non-trivial MitM requirement and availability-only impact. The vulnerability is not listed in CISA KEV and no public exploit code has been identified. Real-world risk is constrained by several factors: the IMDS endpoint (169.254.169.254) is a link-local address accessible only from within the VM's network stack, making opportunistic remote exploitation difficult; the Azure VM resource detector is an opt-in component; and the impact is DoS only with no confidentiality or integrity consequence. However, in environments with compromised network fabric, misconfigured proxies forwarding 169.254.169.254 traffic, or hostile container overlay networks, the MitM prerequisite becomes more achievable. This vulnerability is a genuine but lower-priority finding for most Azure workloads - teams running OpenTelemetry instrumentation in shared or multi-tenant compute should treat it with elevated urgency. The vendor-assigned AV:N vector appears slightly generous given that 169.254.169.254 is link-local; AV:A would be more technically precise for the primary MitM attack path. |
| Exploit ScenarioDerived | An attacker with network-layer MitM capability within the Azure VM's environment - achieved via a compromised network device, ARP poisoning, rogue container CNI plugin, or malicious service mesh sidecar - intercepts the HTTP GET request to http://169.254.169.254/metadata/instance/compute and returns a fabricated response body of several gigabytes. The consuming .NET application, running OpenTelemetry with the Azure VM resource detector enabled, attempts to buffer this payload entirely into a managed string via HttpClient.GetStringAsync(), exhausting available heap memory and crashing via OutOfMemoryException. No public exploit tooling is required beyond a network interception proxy capable of substituting HTTP responses. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Unbounded HTTP response buffering in OpenTelemetry.Resources.Azure (NuGet, versions ≤ 1.15.0-beta.1) allows an attacker who controls or can MitM the Azure VM Instance Metadata Service endpoint at http://169.254.169.254 to cause heap exhaustion and crash the consuming .NET process via OutOfMemoryException. The AzureVmMetaDataRequestor class calls HttpClient.GetStringAsync() with no response-size limit, meaning an adversarial IMDS response of arbitrary size is fully buffered into managed memory before deserialization. No public exploit exists and EPSS is 0.04%, but the DoS impact is process-terminating if the MitM prerequisite can be satisfied.
RemediationAI
Upgrade to OpenTelemetry.Resources.Azure version 1.15.0-beta.2 or later; verify the exact published NuGet version against NuGet.org due to a minor discrepancy between the GHSA advisory (which states 1.15.0-beta.2) and the source code evidence (which references 1.15.1-beta.1 as the fixed version). The patch (commit 9d8a364, PR #4121 at https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4121) enforces a 4 MiB response cap and streams rather than buffers IMDS responses. If immediate upgrade is not possible, two vendor-documented workarounds exist: first, disable the Azure VM resource detector entirely - this eliminates all IMDS queries at the cost of losing Azure VM infrastructure metadata in telemetry exports; second, apply network-level controls such as host-based firewall rules or service mesh policy to ensure only the legitimate Azure IMDS endpoint can respond on 169.254.169.254, preventing MitM injection - note that the IMDS endpoint uses plain HTTP so mTLS cannot be applied directly to it, making host firewall or eBPF-based enforcement the practical option. Full advisory: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-vc24-j8c5-2vw4.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the AzureVmMetaDataRequestor class within the OpenTelemetry.Resources.Azure NuGet package (CPE: pkg:nuget/opentelemetry.resources.azure), part of the opentelemetry-dotnet-contrib project. The class uses HttpClient.GetStringAsync() to fetch JSON from the Azure IMDS link-local address (http://169.254.169.254/metadata/instance/compute?api-version=2021-12-13), buffering the entire HTTP response body into a .NET managed string before passing it to JsonSerializer. CWE-770 (Allocation of Resources Without Limits or Throttling) is the root cause: no maximum response size is enforced, so a manipulated response of arbitrary byte length is fully allocated on the .NET managed heap, triggering GC pressure, stalls, or an OutOfMemoryException that terminates the process. The fix in PR #4121 replaces GetStringAsync with a streaming pattern using HttpCompletionOption.ResponseHeadersRead and introduces a shared HttpClientHelpers utility that enforces a 4 MiB hard cap, silently discarding oversized responses rather than throwing.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:A better reflects the link-local IMDS endpoint (169.254.169.254); AC:H for required MitM position; A:H for process-terminating OOM crash.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Summary
OpenTelemetry.Resources.Azure reads unbounded HTTP response bodies from the Azure VM remote instance metadata service endpoint into memory.
This would allow an attacker-controlled endpoint or one acting as a Man-in-the-Middle (MitM) to cause excessive memory allocation and possible process termination (via Out of Memory (OOM)).
Details
The AzureVmMetaDataRequestor class makes HTTP requests to the relevant Azure VM instance metadata service (http://169.254.169.254) to obtain metadata about the running process and its infrastructure.
An attacker who controls the configured endpoint, or who can intercept traffic to them (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.
Impact
Denial of Service (DoS). An attacker can destabilize or crash the application by forcing unbounded memory allocation through the Azure VM instance metadata HTTP response paths.
Mitigating Factors
The application's reachable Azure VM metadata endpoint needs to behave maliciously or be subject to MitM. In normal usage response bodies should not be excessively large.
Patches
Fixed in OpenTelemetry.Resources.Azure version 1.15.0-beta.2.
The fix (#4121) introduce changes that introduce limits to HttpClient requests so that the response body is streamed rather than buffered entirely in memory. Responses greater than 4 MiB are ignored.
Workarounds
- Disable the Azure VM resource detector.
- Use network-level controls (firewall rules, mTLS, service mesh) to prevent Man-in-the-Middle (MitM) attacks on the Azure VM instance metadata endpoint.
References
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GHSA-vc24-j8c5-2vw4
NVD
CVE.org
EPSS
VulDB
Exploit-DB