CVE-2025-30157
JSON

6.5medium

Envoy crashes when HTTP ext_proc processes local replies

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.44% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-cf3q-gqg7-3fm9BIT-ENVOY-2025-30157

Description

Envoy is a cloud-native high-performance edge/middle/service proxy. Prior to 1.33.1, 1.32.4, 1.31.6, and 1.30.10, 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 failure of a websocket handshake will trigger a local reply leading to the crash of Envoy. This vulnerability is fixed in 1.33.1, 1.32.4, 1.31.6, and 1.30.10.

Affected

Product or packageVersionsReported by
envoyproxy envoy>= 1.33.0, < 1.33.1, >= 1.32.0, < 1.32.4, >= 1.31.0, < 1.31.6, < 1.30.10, before 1.30.10, from 1.31.0 before 1.31.6, from 1.32.0 before 1.32.4, 1.33.0CVE List, NVD
github.com/envoyproxy/envoy (Go)before 1.30.10, from 1.31.0 before 1.31.6, from 1.32.0 before 1.32.4, from 1.33.0 before 1.33.1GitHub Advisory Database
envoy (Bitnami)before 1.30.10, from 1.31.0 before 1.31.6, from 1.32.0 before 1.32.4, from 1.33.0 before 1.33.1Bitnami Vulnerability Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-460

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Envoy is a cloud-native high-performance edge/middle/service proxy. Prior to 1.33.1, 1.32.4, 1.31.6, and 1.30.10, 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 failure of a websocket handshake will trigger a local reply leading to the crash of Envoy. This vulnerability is fixed in 1.33.1, 1.32.4, 1.31.6, and 1.30.10.

GitHub Advisory Database
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

NVD (es)

Envoy es un proxy de alto rendimiento para servicios perimetrales, intermedios y de borde, nativo de la nube. En versiones anteriores a las 1.33.1, 1.32.4, 1.31.6 y 1.30.10, el filtro HTTP ext_proc de Envoy corría el riesgo de bloquearse si se enviaba una respuesta local al servidor externo debido a un problema de duración del filtro. Un fallo en el protocolo de enlace websocket desencadenaba una respuesta local que provocaba el bloqueo de Envoy. Esta vulnerabilidad se corrigió en las versiones 1.33.1, 1.32.4, 1.31.6 y 1.30.10.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-30157 changed 2025-03-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-cf3q-gqg7-3fm9 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-30157 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ENVOY-2025-30157 changed 2026-09-08Apache-2.0