CVSS 6.3 MEDIUM

OpenTelemetry Python: Unbounded memory allocation in Jaeger baggage propagation

Mã khác
GHSA-f5m9-jfrj-jjj7
Công bố
Cập nhật
Lần đầu thấy
Nguồn
GitHub Advisory, NVD, CVE.org, OSV.dev

Mô tả

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-propagator-jaeger to version 1.45.0 or later.

Version 1.45.0 limits extraction to 180 entries and 8,192 total bytes and skips entries larger than 4,096 bytes.

Credit

tonghuaroot

Điểm và phân loại

CVSS
6.3 MEDIUM v4.0
Nguồn điểm
NVD
Mức độ (theo nguồn)
MEDIUM
EPSS
0.38%
CWE
CWE-770

Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Ảnh hưởng

Package Bản bị ảnh hưởng Bản đã sửa
pip opentelemetry-propagator-jaeger <= 1.44.0 1.45.0
pip opentelemetry-propagator-jaeger < 1.45.0 1.45.0

Sản phẩm

  • open-telemetry opentelemetry-python

Vì sao bị lọc

  • CVSS 6.3 < 8.0 và không thuộc CISA KEV

Loại tác động

Không nhận ra loại tác động nào từ CWE, vector hay mô tả.

Dữ liệu riêng của nguồn

CVE.org · Đơn vị cấp mã
GitHub_M
CVE.org · SSVC
Tự động hoá được: no · Khai thác: none · Tác động kỹ thuật: partial
OSV.dev · ID
GHSA-f5m9-jfrj-jjj7

Tham khảo