NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-30157: Envoy crashes when HTTP ext_proc processes local replies

mediumCVSS 3.1 6.5GHSA-cf3q-gqg7-3fm9

Summary Envoy's extproc 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 extproc are enabled, a failed handshake will trigger a local reply, thus extproc will crash. Mitigation 1. Disable websocket traffic 2.

Published Mar 21, 2025

Affected packages

github.com/envoyproxy/envoy

Ecosystem
Go
Affected
< 1.30.10
Fixed in
1.30.10
Check
go list -m github.com/envoyproxy/envoy

github.com/envoyproxy/envoy

Ecosystem
Go
Affected
>= 1.31.0, < 1.31.6
Fixed in
1.31.6
Check
go list -m github.com/envoyproxy/envoy

github.com/envoyproxy/envoy

Ecosystem
Go
Affected
>= 1.32.0, < 1.32.4
Fixed in
1.32.4
Check
go list -m github.com/envoyproxy/envoy

github.com/envoyproxy/envoy

Ecosystem
Go
Affected
>= 1.33.0, < 1.33.1
Fixed in
1.33.1
Check
go list -m github.com/envoyproxy/envoy

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

  1. Disable websocket traffic
  2. Change the websocket response from backend to always return 101 Switch protocol based on RFC.
  3. Apply the patch and the ext_proc filter will not send the local reply that is generated by Envoy to the ext_proc server for processing.
  4. Apply the patch that the router will cancel the upstream requests when sending a local reply.

Impact

Denial of service

Reporter

Vasilios Syrakis Fernando Cainelli

Credited to botengyao, yanjunxiang-google, phlax.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries