Unbounded HTTP response body read in OpenTelemetry.Resources.Azure
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| open-telemetry | opentelemetry-dotnet-contrib | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Opentelemetry | Opentelemetry-dotnet-contrib |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-vc24-j8c5-2vw4 | OpenTelemetry.Resources.Azure has an unbounded HTTP response body read |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.323% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Opentelemetry opentelemetry.resources.azure
|
|
| CPEs | cpe:2.3:a:opentelemetry:opentelemetry.resources.azure:*:*:*:*:*:.net:*:* | |
| Vendors & Products |
Opentelemetry opentelemetry.resources.azure
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Opentelemetry
Opentelemetry opentelemetry-dotnet-contrib |
|
| Vendors & Products |
Opentelemetry
Opentelemetry opentelemetry-dotnet-contrib |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | OpenTelemetry.Resources.Azure is the .NET resource detector for Azure environments. In versions 1.15.0-beta.1 and earlier, the AzureVmMetaDataRequestor class makes HTTP requests to the Azure VM instance metadata service and reads the response body into memory without any size limit. An attacker who controls the configured endpoint, or who can intercept traffic to it via a man-in-the-middle attack, 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. As a workaround, disable the Azure VM resource detector or use network-level controls such as firewall rules, mTLS, or a service mesh to prevent man-in-the-middle attacks on the Azure VM instance metadata endpoint. This issue is fixed in version 1.15.1-beta.1, which streams responses rather than buffering them entirely in memory and ignores responses larger than 4 MiB. | |
| Title | Unbounded HTTP response body read in OpenTelemetry.Resources.Azure | |
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
cvssV3_1
|