Skip to content
OpenAdvisories
Medium · 6.1 CVE-2021-43825 EUVD-2021-30705

Use-after-free in Envoy

Published Feb 22, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Envoy is an open source edge and service proxy, designed for cloud-native applications. Sending a locally generated response must stop further processing of request or response data. Envoy tracks the amount of buffered request and response data and aborts the request if the amount of buffered data is over the limit by sending 413 or 500 responses. However when the buffer overflows while response is processed by the filter chain the operation may not be aborted correctly and result in accessing a freed memory block. If this happens Envoy will crash resulting in a denial of service.

Affected products

VendorProductAffectedFixed
envoyproxy envoy < 1.18.6, >= 1.19.0, < 1.19.3, >= 1.20.0, < 1.20.2, >= 1.21.0, < 1.21.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 kiali v1.24.7.redhat1-1.el8 RHSA-2022:1276
Red Hat Service Mesh 2 servicemesh +6 2.0.9-3.el8 RHSA-2022:1276, RHSA-2022:1275
Red Hat Service Mesh 2 servicemesh-cni +1 2.1.2-4.el8 RHSA-2022:1275
Red Hat Service Mesh 2 servicemesh-prometheus 2.14.0-16.el8.1 RHSA-2022:1276

Advisories 3

References