High, CVSS 8.2GoPublished
Denial of Service via Zip/Decompression Bomb sent over HTTP or gRPC
CVE-2024-36129 · GHSA-c74f-6mfw-mm4v
- Affected
- Go go.opentelemetry.io/collector/config/confighttp < 0.102.0
- Fixed in
- 0.102.0· Vendor fix available
- Issue
- An unsafe decompression vulnerability allows unauthenticated attackers to crash the collector via excessive memory consumption. Details 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. It supports the gzip, zstd, zlib, snappy, and deflate compression algorithms. A "zip bomb" or "decompression bomb" is a malicious archive designed to crash or disable the system reading it. Decompression of HTTP requests is typically not enabled by default in popular server solutions due to associated security risks. 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. During proof-of-concept (PoC) testing, all supported compression algorithms could be abused, with zstd causing the most significant impact. Compressing…
Recommended action: Upgrade to 0.102.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.