Envoy crashes when HTTP ext_proc processes local replies
Package
Affected versions
< 1.30.10
>= 1.31.0, < 1.31.6
>= 1.32.0, < 1.32.4
>= 1.33.0, < 1.33.1
Patched versions
1.30.10
1.31.6
1.32.4
1.33.1
Description
Published by the National Vulnerability Database
Mar 21, 2025
Published to the GitHub Advisory Database
Mar 21, 2025
Reviewed
Mar 21, 2025
Last updated
Mar 21, 2025
Summary
Envoy's ext_proc HTTP filter is at risk of crashing if a local reply is sent to the external server due to the filter's life time issue. A known situation is the fail of a websocket handshake will trigger a local reply leading to the crash of Envoy.
PoC
If both websocket and ext_proc are enabled, a failed handshake will trigger a local reply, thus ext_proc will crash.
Mitigation
101 Switch protocol
based on RFC.Impact
Denial of service
Reporter
Vasilios Syrakis
Fernando Cainelli
References