Skip to main content
VulnerabilityPublished

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

0

CVSS 7.5 High : upgrade to 1.71.0 soon.

Data as of 3 Dec 2026, 01:44 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

What to do

Upgrade go.opentelemetry.io/collector/config/confighttp and go.opentelemetry.io/collector/config/configgrpc to 1.71.0.

Affected software

ProductAffectedFixed in
Gogo.opentelemetry.io/collector/config/confighttpAffected
  • >=0.81.0 <1.71.0
Fixed in
  • 1.71.0
Gogo.opentelemetry.io/collector/config/configgrpcAffected
  • <1.71.0
Fixed in
  • 1.71.0

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

Community reviews

Loading reviews…