opentelemetry-java: Quadratic CPU consumption in W3C tracestate parsing
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| open-telemetryopentelemetry-java | — | Not listed |
| mavenio.opentelemetry:opentelemetry-api |
< 1.67.0→ 1.67.0 |
1.67.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com