CVE-2025-27513: OpenTelemetry .NET has Denial of Service (DoS) Vulnerability in API Package
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.
Published Mar 5, 2025
Affected packages
OpenTelemetry.Api
- Ecosystem
- NuGet
- Affected
- >= 1.11.0, < 1.11.2
- Fixed in
- 1.11.2
- Check
dotnet list package --include-transitive
OpenTelemetry.Api
- Ecosystem
- NuGet
- Affected
- = 1.10.0
- Fixed in
- No patched version yet
- Check
dotnet list package --include-transitive
OpenTelemetry.Api
- Ecosystem
- NuGet
- Affected
- = 1.10.0-beta.1
- Fixed in
- No patched version yet
- Check
dotnet list package --include-transitive
OpenTelemetry.Api
- Ecosystem
- NuGet
- Affected
- = 1.10.0-rc.1
- Fixed in
- No patched version yet
- Check
dotnet list package --include-transitive
OpenTelemetry.Api
- Ecosystem
- NuGet
- Affected
- = 1.11.0-rc.1
- Fixed in
- No patched version yet
- Check
dotnet list package --include-transitive
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
tracestateheader. - 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 resolved in OpenTelemetry.Api 1.11.2 by reverting the change that introduced the problematic behavior in versions 1.10.0 to 1.11.1.The fix ensures that valid tracing headers no longer cause excessive CPU consumption when received in requests.Fixed Version: 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.2Delisting 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?_
References
- https://github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-8785-wc3w-h8q6
- https://github.com/open-telemetry/opentelemetry-dotnet/pull/6161
- https://nvd.nist.gov/vuln/detail/CVE-2025-27513
- https://github.com/open-telemetry/opentelemetry-dotnet/commit/1b555c1201413f2f55f2cd3c4ba03ef4b615b6b5
- https://github.com/advisories/GHSA-8785-wc3w-h8q6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
