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

Published Mar 21, 2025
·
Updated

### 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

Affected Software

9 affected componentsFixes available
Envoy Envoy<1.30.10, <1.31.6, <1.32.4
go/github.com/envoyproxy/envoy>=1.33.0<1.33.1
1.33.1
go/github.com/envoyproxy/envoy>=1.32.0<1.32.4
1.32.4
go/github.com/envoyproxy/envoy>=1.31.0<1.31.6
1.31.6
go/github.com/envoyproxy/envoy<1.30.10
1.30.10
Envoyproxy Envoy<1.30.10
Envoyproxy Envoy>=1.31.0<1.31.6
Envoyproxy Envoy>=1.32.0<1.32.4
Envoyproxy Envoy=1.33.0

Event History

Mar 21, 2025
CVE Published
via MITRE·02:49 PM
Data Sourced
via MITRE·02:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:23 PM
Jan 22, 57223
Event
via FIRST·06:49 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-30157?

CVE-2025-30157 has been classified with a high severity due to the risk of Envoy crashing under certain conditions.

2

How do I fix CVE-2025-30157?

To fix CVE-2025-30157, upgrade Envoy to version 1.33.1 or higher.

3

What versions of Envoy are affected by CVE-2025-30157?

CVE-2025-30157 affects Envoy versions prior to 1.33.1, 1.32.4, 1.31.6, and 1.30.10.

4

What is the nature of the vulnerability described in CVE-2025-30157?

CVE-2025-30157 involves a crashing issue in Envoy's ext_proc HTTP filter when a local reply is sent to an external server.

5

Is there a workaround for CVE-2025-30157?

Currently, the best practice is to upgrade the affected Envoy versions, as there are no effective workarounds documented.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203