OpenTelemetry
v0.165.0Observability호환성에 영향을 주는 API 제거와 관측성 및 구성 기능의 확장이 포함된 유지보수 릴리스입니다. 정확성 수정과 리소스 고갈 및 스택 오버플로 입력을 막기 위한 보안 보강도 반영됐습니다.
조치 필요 (1)
security중첩된
proto입력의 재귀 깊이 제한pkg/pdata의AnyValue,ArrayValue,KeyValueList,KeyValue를proto로 역직렬화할 때 재귀 깊이를 100으로 제한합니다. 악의적으로 깊게 중첩한 입력으로 스택 오버플로가 발생하는 문제를 막습니다.
영향 확인 (2)
security
zstd디코더 윈도 크기 제한pkg/confighttp를 사용하는 경우에 적용됩니다.pkg/confighttp의zstd디코더 윈도 크기를 라이브러리 기본값 대신max_request_body_size로 제한했습니다. 헤더에 큰 윈도 크기를 지정한 작은 입력으로 설정된 요청 본문 크기와 관계없이 대규모 메모리를 할당하게 만드는 문제를 막습니다.breaking
pkg/confighttp의 사용 중단 예정 필드 제거IdleConnTimeout,MaxIdleConns,MaxIdleConnsPerHost또는DisableKeepAlives를 구성한 경우에 적용됩니다.pkg/confighttp에서 사용 중단 예정이던IdleConnTimeout,MaxIdleConns,MaxIdleConnsPerHost,DisableKeepAlives필드를 제거했습니다.
미리 준비 (1)
deprecated
componentstatus.사용 중단 지정Watcher componentstatus.를 사용하는 경우에 적용됩니다.Watcher componentstatus.를 사용 중단으로 지정하고Watcher extensioncapabilities.를 대신 사용하도록 안내합니다.ComponentStatusWatcher
그 외 기록된 변경 15건 전체security fixes 1 · additions 4 · constraints 4 · fixes 3 · value changes 3
security fixes (1)
- -
pkg/configgrpc: Bound the zstd decoder window by the configured maximum receive message size instead of the library default. (#16280) A zstd frame declares its window in the header and the decoder allocated it before producing any output, so a small crafted message could drive a large allocation regardless ofmax_recv_msg_size_mib. The decoder is also returned to its pool as soon as gRPC is done with a message.
additions (4)
- -
pkg/xreceiverhelper: Add xreceiverhelper with anObsReportthat reports profile sample metrics per sample type. (#16251)ObsReport.records theEndProfilesOpBySampleType otelcol_receiver_{accepted,refused,failed}_profile_samplesmetrics with an additionalsample_typeattribute, formatted as "type:unit", as a single payload can hold multiple profiles with different sample types. UseProfileSampleCountsByTypeto compute the sample counts before the profiles are passed to the next consumer, as the data may be mutated downstream. The OTLP receiver now usesEndProfilesOpBySampleType. - -
pkg/service: Warn at startup when a pipeline combines the batch processor with exporterhelper batching. (#15965) Detection does not cross connectors or inspect exporter wrappers that hide exporterhelper's batching capability. - -
processor/memory_limiter: Addgarbage_collectorconfig section to allow disabling forced garbage collection viaenabledfield. (#15081) - -
processor/queue_batch: Report queue and batch metrics as processor metrics (#14038)
constraints (4)
- -
pkg/configmiddleware: allow to override the dialer used by confighttp.ToClient and configgrpc.ToClient (#16019) - -
pkg/featuregate: Allow underscores in feature gate IDs. (#16243) - -
pkg/service: Service now supports configuring additional resource detectors for internal telemetry as per the update to otelconf v0.26.0. (#15869) - -
pkg/confighttp: Accept Content-Encoding: identity as equivalent to no encoding. (#15122)
fixes (3)
- -
pkg/exporterhelper: Fix aCannot unref freed datapanic when a persistent sending queue forwards requests into another pipeline (#15256) - -
pkg/exporterhelper: Withwait_for_result, canceling a request that the sending queue already accepted no longer returns early (#16255) Previously a canceled context made it returncontext.while the request was still delivered, so callers could report a failure for data that had been sent. Canceling still takes effect while nothing has been done with the request.Canceled - -
pkg/service: Skip graph nodes that have not been built during shutdown to prevent a panic when a partial receiver reload fails to build a receiver. (#16261)
value changes (3)
- -
pkg/xprocessorhelper: Instrumentxprocessorhelper.withNewProfiles otelcol_processor_incoming_items,otelcol_processor_outgoing_items, andotelcol_processor_internal_duration, consistent with the other signal constructors. (#15523) - -
processor/queue_batch: Promote the queue_batch processor to beta for traces, metrics, and logs, and to alpha for profiles. (#12022) - -
pkg/confighttp: Mark confighttp as stable (#9380)
조치가 필요한 릴리스가 나왔을 때 주간 메일로 알려드립니다. 이번 릴리스의 보안 패치와 브레이킹 체인지 같은 것들입니다.