CVE-2026-47205
Beschrijving NL
Envoy is een open source edge en service proxy ontworpen voor cloud-native applicaties. Van 1.36.0 tot 1.36.9, 1.37.5 en 1.38.3 bestaat er een Use-After-Free (UAF) -kwetsbaarheid die leidt tot een plotselinge segmentatiefout in het ext_authz HTTP-filter van Envoy wanneer de verwerking van autorisatie per route gelijktijdig met snelle downstream-clientverbindingen wordt overschreven. Tijdens de levenscycli van standaardaanvragen instantieert Envoy het ext_authz-filter met een fundamenteel autorisatieclientobject (client_). Als een gematchte route een dynamische HTTP- of gRPC-autorisatieservice per route overschrijft, genereert het filter een gelokaliseerde client. In de kwetsbare implementatie overschreef deze transiënte client agressief de standaard client_ unique pointer door client_ = std::move(per_route_client) uit te voeren. Wanneer een client snel een stream tot stand brengt en vervolgens afbreekt (zoals het snel vernieuwen van een beveiligd WebSocket-eindpunt), activeert de downstream de levenscyclus van ConnectionManagerImpl:: doDeferredStreamDestroy () -> ActiveStream::onResetStream (). Envoy onmiddellijk sequenties Filter::onDestroy() in een poging om verzonden asynchrone autorisatiecontroletransacties veilig af te breken via client_->cancel(). Door de standaardclient abrupt te vernietigen tijdens initiateCall, treedt er een foutieve uitlijning van de geheugenlevenscyclus op binnen de asynchrone clientmanager. De stream teardown slaagt er niet in om de dynamisch gebonden asynchrone autorisatietaken betrouwbaar op te sporen en te annuleren, waarbij een sequentie wordt georkestreerd waarbij een late asynchrone callback van het netwerk wordt geëvalueerd tegen een zwaar vernietigde ActiveStream-validatiebereik, waardoor een UAF-procescrash wordt gegenereerd. Deze kwetsbaarheid is opgelost in 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.36.0 until 1.36.9, 1.37.5, and 1.38.3, a Use-After-Free (UAF) vulnerability leading to a sudden segmentation fault exists in Envoy's ext_authz HTTP filter when processing per-route authorization overrides concurrently with rapid downstream client disconnects. During standard request lifecycles, Envoy instantiates the ext_authz filter with a foundational authorization client object (client_). If a matched route dictates a dynamic per-route HTTP or gRPC authorization service override, the filter generates a localized client. In the vulnerable implementation, this transient client aggressively overwrote the default client_ unique pointer by executing client_ = std::move(per_route_client). When a client rapidly establishes and subsequently tears down a stream (such as rapidly refreshing a protected WebSocket endpoint), the downstream triggers the ConnectionManagerImpl::doDeferredStreamDestroy() -> ActiveStream::onResetStream() lifecycle. Envoy immediately sequences Filter::onDestroy() in an attempt to securely abort dispatched asynchronous authorization check transactions via client_->cancel(). By destructing the default client abruptly during initiateCall, a memory lifecycle misalignment occurs within the async client manager. The stream teardown fails to reliably track and cancel the dynamically bound asynchronous authorization tasks, orchestrating a sequence where a late asynchronous callback from the network evaluates against a heavily destroyed ActiveStream validation span, generating a UAF process crash. This vulnerability is fixed in 1.36.9, 1.37.5, and 1.38.3.