Skip to content
OpenAdvisories
High · 8.2 CVE-2023-27487 EUVD-2023-31254

Envoy client may fake the header `x-envoy-original-path`

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 client may bypass JSON Web Token (JWT) checks and forge fake original paths. The header `x-envoy-original-path` should be an internal header, but Envoy does not remove this header from the request at the beginning of request processing when it is sent from an untrusted client. The faked header would then be used for trace logs and grpc logs, as well as used in the URL used for `jwt_authn` checks if the `jwt_authn` filter is used, and any other upstream use of the x-envoy-original-path header. Attackers may forge a trusted `x-envoy-original-path` header. Versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9 have patches for this issue.

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