CVE-2025-27513: OpenTelemetry.Api Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-8785-wc3w-h8q6
CVSS 6.5
CWE-770
Published
Advisory Summary

CVE-2025-27513 is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting OpenTelemetry.Api libraries in the NuGet ecosystem. The issue involves opentelemetry .net has denial of service (dos) vulnerability in api package. Remediation is available by upgrading affected packages to version 1.11.2.

CVE-2025-27513 at a Glance

CVE Identifier CVE-2025-27513
GHSA Identifier GHSA-8785-wc3w-h8q6
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product OpenTelemetry.Api
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2025-27513

To remediate this vulnerability, upgrade all affected OpenTelemetry.Api 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.Api fixed: 1.11.2
Upgrade OpenTelemetry.Api to 1.11.2
OpenTelemetry.Api fixed: Latest secure release
Upgrade OpenTelemetry.Api to Latest secure release
OpenTelemetry.Api fixed: Latest secure release
Upgrade OpenTelemetry.Api to Latest secure release
OpenTelemetry.Api fixed: Latest secure release
Upgrade OpenTelemetry.Api to Latest secure release
OpenTelemetry.Api fixed: Latest secure release
Upgrade OpenTelemetry.Api to Latest secure release
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.Api

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-27513, inspect your project dependencies for OpenTelemetry.Api:

inspect dependencies for OpenTelemetry.Api

Analyze the terminal output to locate any version of OpenTelemetry.Api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.2), 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.Api, 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

### Impact _What kind of vulnerability is it? Who is impacted?_ A vulnerability in `OpenTelemetry.Api` package `1.10.0` to `1.11.1` could cause a Denial of Service (DoS) when a `tracestate` and `traceparent` header is received. * Even if an application does not explicitly use trace context propagation, receiving these headers can still trigger high CPU usage. * This issue impacts any application accessible over the web or backend services that process HTTP requests containing a `tracestate` header. * Application may experience excessive resource consumption, leading to increased latency, degraded performance, or downtime. ### Patches _Has the problem been patched? What versions should users upgrade to?_ This issue has been <strong data-start="1143" data-end="1184">resolved in OpenTelemetry.Api 1.11.2</strong> by <strong data-start="1188" data-end="1212">reverting the change</strong> that introduced the problematic behavior in versions <strong data-start="1266" data-end="1286">1.10.0 to 1.11.1</strong>.</li><li data-start="1290" data-end="1409">The fix ensures that <strong data-start="1313" data-end="1380">valid tracing headers no longer cause excessive CPU consumption</strong> when received in requests.</li></ul><h4 data-start="1411" data-end="1434"><strong data-start="1416" data-end="1434">Fixed Version:</strong></h4> OpenTelemetry .NET Version | Status -- | -- <= 1.9.x | ✅ Not affected 1.10.0 - 1.11.1 | ❌ Vulnerable 1.11.2 (Fixed) | ✅ Safe to use **Upgrade Command:** ``` dotnet add package OpenTelemetry --version 1.11.2 ``` **Delisting of Affected Packages** To prevent accidental usage, we have delisted the affected versions (1.10.0 to 1.11.1) from NuGet. Users should avoid these versions and upgrade to 1.11.2 immediately. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ ### References _Are there any links users can visit to find out more?_

CVE-2025-27513 Affected OpenTelemetry.Api Versions

5 component(s)
Fixed Versions:
1.11.2
Product / Package Ecosystem Affected Versions Fixed Version
OpenTelemetry.Api
NuGet
≥ 1.11.0
< 1.11.2
1.11.2
OpenTelemetry.Api
NuGet
1.10.0
All 1 versions
1.10.0
None specified
OpenTelemetry.Api
NuGet
1.10.0-beta.1
All 1 versions
1.10.0-beta.1
None specified
OpenTelemetry.Api
NuGet
1.10.0-rc.1
All 1 versions
1.10.0-rc.1
None specified
OpenTelemetry.Api
NuGet
1.11.0-rc.1
All 1 versions
1.11.0-rc.1
None specified

References

Frequently Asked Questions

What is CVE-2025-27513?
CVE-2025-27513 is a security vulnerability in OpenTelemetry.Api involving OpenTelemetry .NET has Denial of Service (DoS) Vulnerability in API Package under CWE-770: Allocation of Resources Without Limits or Throttling.
Which OpenTelemetry.Api versions are affected?
Affected versions include releases prior to 1.11.2 across affected packages: OpenTelemetry.Api.
What version fixes CVE-2025-27513?
Upgrading to 1.11.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is OpenTelemetry.Api affected?
Yes, OpenTelemetry.Api is affected in releases prior to 1.11.2, Latest secure release. Upgrade your dependency to 1.11.2, Latest secure release or later.
What is the CVSS score of CVE-2025-27513?
CVE-2025-27513 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-27513?
CVE-2025-27513 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-2025-27513?
Run the dependency tree command: 'inspect dependencies for OpenTelemetry.Api'. 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-8785-wc3w-h8q6",
  "modified" : "2025-03-05T21:54:14Z",
  "published" : "2025-03-05T18:15:22Z",
  "aliases" : [ "CVE-2025-27513" ],
  "summary" : "OpenTelemetry .NET has Denial of Service (DoS) Vulnerability in API Package",
  "details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nA vulnerability in `OpenTelemetry.Api` package `1.10.0` to `1.11.1` could cause a Denial of Service (DoS) when a `tracestate` and `traceparent` header is received.\n\n* Even if an application does not explicitly use trace context propagation, receiving these headers can still trigger high CPU usage.\n* This issue impacts any application accessible over the web or backend services that process HTTP requests containing a `tracestate` header.\n* Application may experience excessive resource consumption, leading to increased latency, degraded performance, or downtime.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nThis issue has been <strong data-start=\"1143\" data-end=\"1184\">resolved in OpenTelemetry.Api 1.11.2</strong> by <strong data-start=\"1188\" data-end=\"1212\">reverting the change</strong> that introduced the problematic behavior in versions <strong data-start=\"1266\" data-end=\"1286\">1.10.0 to 1.11.1</strong>.</li><li data-start=\"1290\" data-end=\"1409\">The fix ensures that <strong data-start=\"1313\" data-end=\"1380\">valid tracing headers no longer cause excessive CPU consumption</strong> when received in requests.</li></ul><h4 data-start=\"1411\" data-end=\"1434\"><strong data-start=\"1416\" data-end=\"1434\">Fixed Version:</strong></h4>\nOpenTelemetry .NET Version | Status\n-- | --\n<= 1.9.x | ✅ Not affected\n1.10.0 - 1.11.1 | ❌ Vulnerable\n1.11.2 (Fixed) | ✅ Safe to use\n\n**Upgrade Command:**\n\n```\ndotnet add package OpenTelemetry --version 1.11.2\n```\n\n**Delisting of Affected Packages**\nTo prevent accidental usage, we have delisted the affected versions (1.10.0 to 1.11.1) from NuGet. Users should avoid these versions and upgrade to 1.11.2 immediately.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\n### References\n_Are there any links users can visit to find out more?_",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OpenTelemetry.Api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.11.0"
      }, {
        "fixed" : "1.11.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OpenTelemetry.Api"
    },
    "versions" : [ "1.10.0" ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OpenTelemetry.Api"
    },
    "versions" : [ "1.10.0-beta.1" ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OpenTelemetry.Api"
    },
    "versions" : [ "1.10.0-rc.1" ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "OpenTelemetry.Api"
    },
    "versions" : [ "1.11.0-rc.1" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-8785-wc3w-h8q6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27513"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet/pull/6161"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet/commit/1b555c1201413f2f55f2cd3c4ba03ef4b615b6b5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/open-telemetry/opentelemetry-dotnet"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-05T18:15:22Z",
    "nvd_published_at" : "2025-03-05T19:15:39Z"
  }
}