Skip to content
OpenAdvisories
High · 7.5 CVE-2022-29227 EUVD-2022-33589

Use after free in Envoy

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

Description

Envoy is a cloud-native high-performance edge/middle/service proxy. In versions prior to 1.22.1 if Envoy attempts to send an internal redirect of an HTTP request consisting of more than HTTP headers, there’s a lifetime bug which can be triggered. If while replaying the request Envoy sends a local reply when the redirect headers are processed, the downstream state indicates that the downstream stream is not complete. On sending the local reply, Envoy will attempt to reset the upstream stream, but as it is actually complete, and deleted, this result in a use-after-free. Users are advised to upgrade. Users unable to upgrade are advised to disable internal redirects if crashes are observed.

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.

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 4

References