Envoy
Envoy Zstd Decompressor: Ratio Check at Wrong Loop Depth lead to memory explosion
Envoy is an open source edge and service proxy designed for cloud-native applications. From 1.23.0 until 1.35.11, 1.36.7, 1.37.3, and 1.38.1, a vulnerability has been identified in Envoy's zstd decompressor implementation (ZstdDecompressorImpl). When zstd decompression is enabled, processing a specially crafted, highly compressed zstd payload can lead to massive memory allocation. An attacker can exploit this to cause severe memory exhaustion, potentially resulting in an Out-Of-Memory (OOM) kill and Denial of Service (DoS) for the Envoy proxy. This vulnerability is fixed in 1.35.11, 1.36.7, 1.37.3, and 1.38.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.38.0, < 1.38.1
- >= 1.37.0, < 1.37.3
- >= 1.36.0, < 1.36.7
- >= 1.23.0, < 1.35.11
Fixed in 1.38.1, 1.37.3, 1.36.7, 1.35.11
Mitigation
Upgrade envoy to 1.38.1 or 1.37.3 or 1.36.7 or 1.35.11 or later.
References
- Vendor advisory github.com/envoyproxy/envoy/security/advisorie…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.