GHSA-vc24-j8c5-2vw4

Suggest an improvement
Source
https://github.com/advisories/GHSA-vc24-j8c5-2vw4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-vc24-j8c5-2vw4/GHSA-vc24-j8c5-2vw4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vc24-j8c5-2vw4
Aliases
  • CVE-2026-41483
Published
2026-04-29T18:30:51Z
Modified
2026-05-08T19:47:36.949588Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
OpenTelemetry.Resources.Azure has an unbounded HTTP response body read
Details

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

Database specific
{
    "github_reviewed": true,
    "severity": "MODERATE",
    "nvd_published_at": "2026-05-06T22:16:25Z",
    "cwe_ids": [
        "CWE-770"
    ],
    "github_reviewed_at": "2026-04-29T18:30:51Z"
}
References

Affected packages

NuGet / OpenTelemetry.Resources.Azure

Package

Name
OpenTelemetry.Resources.Azure
View open source insights on deps.dev
Purl
pkg:nuget/OpenTelemetry.Resources.Azure

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.15.1-beta.1

Database specific

last_known_affected_version_range
"<= 1.15.0-beta.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-vc24-j8c5-2vw4/GHSA-vc24-j8c5-2vw4.json"