OpenTelemetry Python: Unbounded memory allocation in Jaeger baggage propagation
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| open-telemetry | opentelemetry-python | — | — |
| pip | opentelemetry-propagator-jaeger |
1.45.0 未満 |
1.45.0 |
| PyPI | opentelemetry-propagator-jaeger |
1.45.0 未満 |
1.45.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
JaegerPropagator.extract() in opentelemetry-propagator-jaeger did not enforce limits when extracting inbound uberctx-* baggage headers. Attacker-controlled baggage could cause unnecessary CPU work and short-lived heap allocations while processing more data than the propagator should accept.
Impact
Services that enable the optional Jaeger propagator and accept untrusted inbound propagation headers may experience increased per-request resource usage. This can contribute to denial-of-service risk when transport-level limits are absent or configured above the baggage limits.
The practical impact for most Python web deployments is limited. The package must be installed separately, and the Jaeger propagator is not enabled by the default OpenTelemetry Python configuration.
Common Python web servers also constrain request headers before they reach the propagator:
- Gunicorn allows a maximum of 100 request-header fields and 8,190 bytes per field by default.
- Uvicorn’s h11 implementation limits its incomplete-event buffer to 16,384 bytes by default.
The risk is higher for non-HTTP transports, custom TextMapGetter implementations, or deployments where server and gateway limits have been increased or disabled.
The impact is limited to availability. This issue does not expose or modify telemetry data and does not allow code execution.
Patches
Versions of opentelemetry-propagator-jaeger earlier than 1.45.0 are affected.
Upgrade `opentelemetry-propag…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory