Skip to content

CVE-2023-27492 Envoy may crash when a large request body is processed in Lua filter

MediumCVSS 6.5 EPSS 0.69%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
envoyproxy envoy < 1.22.9; = < 1.22.9; = >= 1.23.0, < 1.23.6; = >= 1.24.0, < 1.24.4 +4 more 1.22.9, 1.23.6, 1.24.4, 1.25.3 Fixed

Affected products

ProductAffected versionsFixed in
envoyproxy envoy = >= 1.25.0, < 1.25.3 No fix listed
envoyproxy envoy = >= 1.24.0, < 1.24.4 No fix listed
envoyproxy envoy = >= 1.23.0, < 1.23.6 No fix listed
envoyproxy envoy = < 1.22.9 No fix listed
envoyproxy envoy < 1.22.9 1.22.9
envoyproxy envoy >= 1.23.0, < 1.23.6 1.23.6
envoyproxy envoy >= 1.24.0, < 1.24.4 1.24.4
envoyproxy envoy >= 1.25.0, < 1.25.3 1.25.3

References