Skip to main content

OpenTelemetry.Resources.Azure CVE-2026-41483

MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-29 https://github.com/open-telemetry/opentelemetry-dotnet-contrib GHSA-vc24-j8c5-2vw4
5.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain network MitM position within VM environment
  2. Delivery
    Intercept HTTP GET to http://169.254.169.254/metadata/instance/compute
  3. Exploit
    Substitute arbitrarily large response body
  4. Execution
    Trigger unbounded heap allocation in .NET HttpClient.GetStringAsync()
  5. Persist
    Exhaust managed heap memory
  6. Impact
    Crash 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nuget opentelemetry.resources.azure fix: 1.15.1-beta.1

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

NVD PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:A/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Apr 29, 2026 - 19:00 nvd
Patch available
CVE Published
Apr 29, 2026 - 18:30 nvd
MEDIUM 5.9

DescriptionNVD

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

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Low
niche OpenTelemetry contrib plugin, Azure VM deployments only
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

pkg:nuget/opentelemetry.resources.azure

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy