Advisory

GHSA-vc29-vg52-6643

Also known as: None

Summary

DoS Vulnerability in TraceContextPropagator.Extract - OpenTelemetry.Api

Details

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. These versions are used in OpenTelemetry .NET Automatic Instrumentation 1.10.0-beta.1 and 1.10.0.

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 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. OpenTelemetry .NET Automatic Instrumentation fixes it in 1.11.0 release.

Fixed version

| OpenTelemetry .NET Automatic Instrumentation | Status |
|----|----|
| <= 1.9.0 | ✅ Not affected |
| 1.10.0-beta.1, 1.10.0 | ❌ Vulnerable |
| 1.11.0 (Fixed)| ✅ Safe to use|

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?_

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-06 22:33 UTC
Modified
2025-03-06 22:45 UTC

Affected packages and fixes

OpenTelemetry.AutoInstrumentation

NuGet · All systems

Affected

  • introduced 1.10.0-beta.1, fixed 1.11.0 (ecosystem)

Fixed versions

1.11.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences