Envoy is a cloud-native, open source edge and service proxy. A crash was observed in EnvoyQuicServerStream::OnInitialHeadersComplete()
with following call stack. It is a use-after-free caused by QUICHE continuing push request headers after StopReading()
being called on the stream. As after StopReading()
, the HCMs ActiveStream
might have already be destroyed and any up calls from QUICHE could potentially cause use after free.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Envoy | Envoyproxy | * | 1.27.6 (excluding) |
Envoy | Envoyproxy | 1.28.0 (including) | 1.28.4 (excluding) |
Envoy | Envoyproxy | 1.29.0 (including) | 1.29.5 (excluding) |
Envoy | Envoyproxy | 1.30.0 (including) | 1.30.2 (excluding) |