Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-23326 EUVD-2024-20841

Envoy incorrectly accepts HTTP 200 response for entering upgrade mode

Published Jun 4, 2024 · Updated Aug 1, 2024 · Assigned by GitHub_M

Description

Envoy is a cloud-native, open source edge and service proxy. A theoretical request smuggling vulnerability exists through Envoy if a server can be tricked into adding an upgrade header into a response. Per RFC https://www.rfc-editor.org/rfc/rfc7230#section-6.7 a server sends 101 when switching protocols. Envoy incorrectly accepts a 200 response from a server when requesting a protocol upgrade, but 200 does not indicate protocol switch. This opens up the possibility of request smuggling through Envoy if the server can be tricked into adding the upgrade header to the response.

Affected products

VendorProductAffectedFixed
envoyproxy envoy >= 1.13.0, <= 1.30.1, >= 1.29.0, <= 1.29.4, >= 1.28.0, <= 1.28.3, <= 1.27.5 —

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.29.5.0-1.amzn2023 ALAS2023-2024-647

Advisories 1

References