Skip to content
OpenAdvisories
Medium · 4.8 CVE-2023-27492 EUVD-2023-31257

Envoy may crash when a large request body is processed in Lua filter

Published Apr 4, 2023 · Updated Feb 11, 2025 · Assigned by GitHub_M

Description

Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9, the Lua filter is vulnerable to denial of service. Attackers can send large request bodies for routes that have Lua filter enabled and trigger crashes.

As of versions versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9, Envoy no longer invokes the Lua coroutine if the filter has been reset. As a workaround for those whose Lua filter is buffering all requests/ responses, mitigate by using the buffer filter to avoid triggering the local reply in the Lua filter.

Affected products

VendorProductAffectedFixed
envoyproxy envoy >= 1.25.0, < 1.25.3, >= 1.24.0, < 1.24.4, >= 1.23.0, < 1.23.6, < 1.22.9 —

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.

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ecs-service-connect-agent v1.25.4.0-1.amzn2023 ALAS2023-2023-165

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 istio +1 1.15.7-1.el8 ELSA-2023-12356, ELSA-2023-12354
Oracle Linux 8 kubeadm +2 1.24.8-2.el8 ELSA-2023-12356, ELSA-2023-12354
Oracle Linux 8 olcne-rook-chart +4 1.6.1-9.el8 ELSA-2023-23648, ELSA-2023-12354
Oracle Linux 8 olcnectl +11 1.5.12-6.el8 ELSA-2023-12356, ELSA-2023-12354
Oracle Linux 7 istio +1 1.15.7-1.el7 ELSA-2023-12357, ELSA-2023-12355
Oracle Linux 7 kubeadm +2 1.24.8-2.el7 ELSA-2023-12357, ELSA-2023-12355
Oracle Linux 7 olcne-rook-chart +4 1.6.1-9.el7 ELSA-2023-23649, ELSA-2023-12355
Oracle Linux 7 olcnectl +11 1.5.12-6.el7 ELSA-2023-12357, ELSA-2023-12355

Advisories 8

References