A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
OpenTelemetry Python provides the Python API and SDK for OpenTelemetry. Prior to 1.45.1, the opentelemetry-api function TraceState.from_header in opentelemetry/trace/span.py, reached through TraceContextTextMapPropagator.extract, parses inbound W3C tracestate headers with an unbounded optional-whitespace regular expression. A malformed header containing a long run of spaces or tabs without a following comma causes quadratic backtracking before the member-count limit is applied. Services using the default W3C Trace Context propagator can therefore spend excessive CPU time on one unauthenticated request when the HTTP server, parser, gateway, or custom carrier accepts a sufficiently large header. The processing can occupy a synchronous worker or delay unrelated requests on the same asynchronous event loop. The impact is limited to availability and does not expose or modify telemetry data or allow code execution. This issue is fixed in version 1.45.1.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md
- github.com /open-telemetry/opentelemetry-python/commit/d5224bf4ffdf2ae…
- github.com /open-telemetry/opentelemetry-python/pull/5749
- github.com /open-telemetry/opentelemetry-python/releases/tag/v1.45.1
- github.com /open-telemetry/opentelemetry-python/security/advisories/GH…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning