Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-29224 EUVD-2022-33586

Segmentation fault leading to crash in Envoy

Published Jun 9, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Envoy is a cloud-native high-performance proxy. Versions of envoy prior to 1.22.1 are subject to a segmentation fault in the GrpcHealthCheckerImpl. Envoy can perform various types of upstream health checking. One of them uses gRPC. Envoy also has a feature which can “hold” (prevent removal) upstream hosts obtained via service discovery until configured active health checking fails. If an attacker controls an upstream host and also controls service discovery of that host (via DNS, the EDS API, etc.), an attacker can crash Envoy by forcing removal of the host from service discovery, and then failing the gRPC health check request. This will crash Envoy via a null pointer dereference. Users are advised to upgrade to resolve this vulnerability. Users unable to upgrade may disable gRPC health checking and/or replace it with a different health checking type as a mitigation.

Affected products

VendorProductAffectedFixed
envoyproxy envoy < 1.22.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Service Mesh 2 servicemesh +5 2.1.3-1.el8 RHSA-2022:5004
Red Hat Service Mesh 2 servicemesh-operator 2.1.3-2.el8 RHSA-2022:5004
Red Hat Service Mesh 2 servicemesh-prometheus 2.23.0-7.el8 RHSA-2022:5004
Red Hat Service Mesh 2 servicemesh-proxy 2.0.10-1.el8 RHSA-2022:5004, RHSA-2022:5003

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 cri-o 1.23.3-1.el8 ELSA-2022-9588
Oracle Linux 8 cri-tools 1.23.0-1.el8 ELSA-2022-9588
Oracle Linux 8 etcd 3.5.1-2.el8 ELSA-2022-9588
Oracle Linux 8 istio +1 1.13.5-1.el8 ELSA-2022-9588, ELSA-2022-9586
Oracle Linux 8 kata 1.12.1-5.el8 ELSA-2022-9588
Oracle Linux 8 kubeadm +2 1.23.7-1.el8 ELSA-2022-9588
Oracle Linux 8 olcne-metallb-chart +1 1.5.4-3.el8 ELSA-2022-9588
Oracle Linux 8 olcnectl +10 1.4.6-2.el8 ELSA-2022-9588, ELSA-2022-9586
Oracle Linux 7 cri-o 1.23.3-1.el7 ELSA-2022-9589
Oracle Linux 7 cri-tools 1.23.0-1.el7 ELSA-2022-9589
Oracle Linux 7 etcd 3.5.1-2.el7 ELSA-2022-9589
Oracle Linux 7 istio +1 1.13.5-1.el7 ELSA-2022-9589, ELSA-2022-9587
Oracle Linux 7 kata 1.12.1-5.el7 ELSA-2022-9589
Oracle Linux 7 kubeadm +2 1.23.7-1.el7 ELSA-2022-9589
Oracle Linux 7 olcne-metallb-chart +1 1.5.4-3.el7 ELSA-2022-9589
Oracle Linux 7 olcnectl +10 1.4.6-2.el7 ELSA-2022-9589, ELSA-2022-9587

Advisories 7

References