Vulnerabilities in pkg:nuget/OpenTelemetry.Resources.Azure

PACKAGE
Advisory Identifier: GHSA-vc24-j8c5-2vw4
Advisory Summary

CVE-2026-41483 is a MODERATE (CVSS 5.9) remote code execution vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting OpenTelemetry.Resources.Azure libraries in the NuGet ecosystem. The issue involves opentelemetry.resources.azure has an unbounded http response body read. Remediation is available by upgrading affected packages to version 1.15.1-beta.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/OpenTelemetry.Resources.Azure

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/OpenTelemetry.Resources.Azure. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vc24-j8c5-2vw4 CVE-2026-41483 MODERATE OpenTelemetry.Resources.Azure has an unbounded HTTP response body read

CVE-2026-41483 at a Glance

CVE Identifier CVE-2026-41483
GHSA Identifier GHSA-vc24-j8c5-2vw4
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product OpenTelemetry.Resources.Azure
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-41483

To remediate this vulnerability, upgrade all affected OpenTelemetry.Resources.Azure dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

OpenTelemetry.Resources.Azure fixed: 1.15.1-beta.1
Upgrade OpenTelemetry.Resources.Azure to 1.15.1-beta.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for OpenTelemetry.Resources.Azure

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-41483, inspect your project dependencies for OpenTelemetry.Resources.Azure:

inspect dependencies for OpenTelemetry.Resources.Azure

Analyze the terminal output to locate any version of OpenTelemetry.Resources.Azure in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.15.1-beta.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In OpenTelemetry.Resources.Azure, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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`](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/171c6b81f88831641b56b470e6f92862e605013d/src/OpenTelemetry.Resources.Azure/AzureVmMetaDataRequestor.cs) 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 - [#4121](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4121)

CVE-2026-41483 Affected OpenTelemetry.Resources.Azure Versions

1 component(s)
Fixed Versions:
1.15.1-beta.1
Product / Package Ecosystem Affected Versions Fixed Version
OpenTelemetry.Resources.Azure
NuGet
< 1.15.1-beta.1
1.15.1-beta.1

References

Frequently Asked Questions

What is CVE-2026-41483?
CVE-2026-41483 is a security vulnerability in OpenTelemetry.Resources.Azure involving OpenTelemetry.Resources.Azure has an unbounded HTTP response body read under CWE-770: Allocation of Resources Without Limits or Throttling.
Which OpenTelemetry.Resources.Azure versions are affected?
Affected versions include releases prior to 1.15.1-beta.1 across affected packages: OpenTelemetry.Resources.Azure.
What version fixes CVE-2026-41483?
Upgrading to 1.15.1-beta.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is OpenTelemetry.Resources.Azure affected?
Yes, OpenTelemetry.Resources.Azure is affected in releases prior to 1.15.1-beta.1. Upgrade your dependency to 1.15.1-beta.1 or later.
What is the CVSS score of CVE-2026-41483?
CVE-2026-41483 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-41483?
CVE-2026-41483 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check NuGet dependencies for CVE-2026-41483?
Run the dependency tree command: 'inspect dependencies for OpenTelemetry.Resources.Azure'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vc24-j8c5-2vw4",
  "modified" : "2026-05-08T19:32:45Z",
  "published" : "2026-04-29T18:30:51Z",
  "aliases" : [ "CVE-2026-41483" ],
  "summary" : "OpenTelemetry.Resources.Azure has an unbounded HTTP response body read",
  "details" : "### Summary\n\n`OpenTelemetry.Resources.Azure` reads unbounded HTTP response bodies from the Azure VM remote instance metadata service endpoint into memory.\n\nThis 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)).\n\n### Details\n\nThe [`AzureVmMetaDataRequestor`](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/171c6b81f88831641b56b470e6f92862e605013d/src/OpenTelemetry.Resources.Azure/AzureVmMetaDataRequestor.cs) 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.\n\nAn 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.\n\n### Impact\n\nDenial 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.\n\n### Mitigating Factors\n\nThe 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.\n\n### Patches\n\nFixed in `OpenTelemetry.Resources.Azure` version `1.15.0-beta.2`.\n\nThe 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.\n\n### Workarounds\n\n- Disable the Azure VM resource detector.\n- Use network-level controls (firewall rules, mTLS, service mesh) to prevent Man-in-the-Middle (MitM) attacks on the Azure VM instance metadata endpoint.\n\n### References\n\n- [#4121](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4121)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OpenTelemetry.Resources.Azure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.15.1-beta.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.15.0-beta.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-vc24-j8c5-2vw4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41483"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4121"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib/commit/9d8a364af919f62c088edd641c554cb720198964"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet-contrib"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-29T18:30:51Z",
    "nvd_published_at" : "2026-05-06T22:16:25Z"
  }
}