Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-cf3q-gqg7-3fm9

Опубликовано: 21 мар. 2025
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

Envoy crashes when HTTP ext_proc processes local replies

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

Пакеты

Наименование

github.com/envoyproxy/envoy

go
Затронутые версииВерсия исправления

< 1.30.10

1.30.10

Наименование

github.com/envoyproxy/envoy

go
Затронутые версииВерсия исправления

>= 1.31.0, < 1.31.6

1.31.6

Наименование

github.com/envoyproxy/envoy

go
Затронутые версииВерсия исправления

>= 1.32.0, < 1.32.4

1.32.4

Наименование

github.com/envoyproxy/envoy

go
Затронутые версииВерсия исправления

>= 1.33.0, < 1.33.1

1.33.1

EPSS

Процентиль: 2%
0.00014
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-460

Связанные уязвимости

CVSS3: 6.5
nvd
11 месяцев назад

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.

CVSS3: 6.5
debian
11 месяцев назад

Envoy is a cloud-native high-performance edge/middle/service proxy. Pr ...

EPSS

Процентиль: 2%
0.00014
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-460