PT-2024-4606 · Unknown · Opentelemetry Collector+2

Stamparm

·

Published

2024-05-31

·

Updated

2025-11-10

·

CVE-2024-36129

CVSS v2.0

8.5

High

VectorAV:N/AC:L/Au:N/C:N/I:P/A:C
Name of the Vulnerable Software and Affected Versions: OpenTelemetry Collector versions prior to 0.102.1 confighttp module versions prior to 0.102.0 configgrpc module versions prior to 0.102.1
Description: An unsafe decompression vulnerability allows unauthenticated attackers to crash the collector via excessive memory consumption. The OpenTelemetry Collector handles compressed HTTP requests by recognizing the Content-Encoding header, rewriting the HTTP request body, and allowing subsequent handlers to process decompressed data. A malicious attacker could leverage this weakness to crash the collector by sending a small request that, when uncompressed by the server, results in excessive memory consumption. The issue was confirmed through proof-of-concept testing, where all supported compression algorithms could be abused, with zstd causing the most significant impact.
Recommendations: For OpenTelemetry Collector versions prior to 0.102.1, update to version 0.102.1 or later. For confighttp module versions prior to 0.102.0, update to version 0.102.0 or later. For configgrpc module versions prior to 0.102.1, update to version 0.102.1 or later. As a temporary workaround, consider disabling support for decompressing client HTTP requests entirely or limit the size of the decompressed data that can be processed. Limiting the decompressed data size can be achieved by wrapping the decompressed data reader inside an io.LimitedReader, which restricts the reading to a specified number of bytes.

Exploit

Fix

Resource Exhaustion

Buffer Overflow

Weakness Enumeration

Related Identifiers

BDU:2024-05114
BIT-OPENTELEMETRY-COLLECTOR-2024-36129
CVE-2024-36129
GHSA-C74F-6MFW-MM4V
GO-2024-2900
OPENSUSE-SU-2024:14439-1

Affected Products

Opentelemetry Collector
Configgrpc
Confighttp