opentelemetry-java: Quadratic CPU consumption in W3C tracestate parsing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in io.opentelemetry:opentelemetry-api 1.67.0.
opentelemetry-java is the Java implementation of the OpenTelemetry API for recording telemetry, and SDK for managing telemetry recorded by the API. Prior to 1.67.0, W3CTraceContextPropagator.extract() uses regex delimiter processing that can exhibit quadratic backtracking while parsing tracestate headers containing long runs of spaces or tabs without a following comma. An unauthenticated attacker whose headers reach extraction can repeatedly block request or event-loop threads and cause excessive CPU consumption, with practical impact bounded by ingress header-size limits, proxy configuration, and threading. This issue is fixed in version 1.67.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| open-telemetry | <1.67.0 | ||
| maven: io.opentelemetry:opentelemetry-api | <=1.66.0 | 1.67.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket