Skip to content

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

CriticalCVSS 9.1 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · 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 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.

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