CVE-2026-48706
Beschrijving NL
Envoy is een open source edge en service proxy ontworpen voor cloud-native applicaties. Van 1.34.0 tot 1.35.13, 1.36.9, 1.37.5 en 1.38.3 bestaat er een kwetsbaarheid in Envoy's TCP StatsD-sink (TcpStatsdSink), waar de thread-local flusher-buffer kan worden overlopen door uitzonderlijk lange statistische namen (bijv. >16 KB). Tijdens het formatteren reserveert TcpStatsdSink een enkel aaneengesloten geheugensegment van 16 KB (FLUSH_SLICE_SIZE_BYTES). Als het formatteren van een enkele statistiek de resterende capaciteit overschrijdt, initieert de spoeler een bufferrotatie, maar blijft ten onrechte een andere vaste plak van 16 KB toewijzen. Als een aanvaller een statistische naam langer dan 16 KB kan activeren, bijvoorbeeld door een HTTP- of gRPC-verzoek te verzenden met een extreem lang aanvraagpad (:path) dat wordt geregistreerd door het grpc_stats-filter dat is geconfigureerd met stats_for_all_methods: true, zal de flusher proberen de metrische naam te kopiëren met behulp van memcpy-bewerkingen buiten de toegewezen heapbuffergrenzen. Dit leidt tot een heap write overflow, wat kan leiden tot onmiddellijke denial-of-service (procescrash) of potentiële uitvoering van externe code (RCE). Deze kwetsbaarheid is opgelost in 1.35.13, 1.36.9, 1.37.5 en 1.38.3.
Origineel (Engels) tonen
Envoy is an open source edge and service proxy designed for cloud-native applications. From 1.34.0 until 1.35.13, 1.36.9, 1.37.5, and 1.38.3, a vulnerability exists in Envoy's TCP StatsD sink (TcpStatsdSink), where the thread-local flusher buffer can be overflowed by exceptionally long statistic names (e.g., >16KiB). During formatting, TcpStatsdSink reserves a single contiguous memory slice of 16KiB (FLUSH_SLICE_SIZE_BYTES). If formatting a single metric exceeds the remaining capacity, the flusher initiates a buffer rotation but incorrectly continues to allocate another fixed 16KiB slice. If an attacker can trigger a statistic name longer than 16KiB—for example, by sending an HTTP or gRPC request with an extremely long request path (:path) that is recorded by the grpc_stats filter configured with stats_for_all_methods: true—the flusher will attempt to copy the metric name using memcpy operations beyond the allocated heap buffer boundaries. This leads to a heap write overflow, which can cause immediate denial-of-service (process crash) or potential remote code execution (RCE). This vulnerability is fixed in 1.35.13, 1.36.9, 1.37.5, and 1.38.3.