go.opentelemetry.io/collector/config/confighttp · Confighttp: OpenTelemetry Collector gRPC zstd decoder permits pre-authentication memory exhaustion
Affects go.opentelemetry.io/collector/config/confighttpSource GCVE Database
CVSS 7.5 High : upgrade to 1.71.0 soon.
Data as of 3 Dec 2026, 01:44 UTC
- Patch
- Available – fixed in 1.71.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Upgrade go.opentelemetry.io/collector/config/confighttp and go.opentelemetry.io/collector/config/configgrpc to 1.71.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogo.opentelemetry.io/collector/config/confighttp | Affected
| Fixed in
|
| Gogo.opentelemetry.io/collector/config/configgrpc | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to OpenTelemetry Collector version 1.71.0 or later, which includes fixes in the `go.opentelemetry.io/collector/config/confighttp` and `go.opentelemetry.io/collector/config/configgrpc` modules (v1.71.0). For custom builds, rebuild against these versions or newer. Additionally, lowering `max_request_body_size` and `max_recv_msg_size_mib` further limits the decoder window size. If immediate upgrade is not possible, workarounds include removing `zstd` from HTTP `compression_algorithms`, using a proxy or load balancer to block requests with `grpc-encoding: zstd` or `Content-Encoding: zstd`, restricting network access to trusted clients, and not relying on gRPC receiver authentication or memory limiter to prevent this attack.
Description
The OpenTelemetry Collector's OTLP/HTTP and OTLP/gRPC receivers decode zstd-compressed requests without limiting the decoder's history window size. This allows a remote attacker to send a small specially crafted request that causes the collector to allocate up to 512 MiB of memory per request, potentially exhausting system memory and crashing the collector. The gRPC interface is vulnerable to unauthenticated exploitation, while HTTP requires valid authentication if enabled. The issue is fixed in collector version 1.71.0 by bounding the decoder window size according to configured limits.
References
- github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-vf52-ppm4-c35w (opens in a new tab)
- github.com/open-telemetry/opentelemetry-collector/issues/16280 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-collector/pull/16281 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-collector/commit/2583302d78e19c4cf7fda45b664ea55cdf39a735 (opens in a new tab)
- github.com/open-telemetry/opentelemetry-collector (opens in a new tab)
- github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.165.0 (opens in a new tab)