Bug 2179135 (CVE-2023-27487)

Summary: CVE-2023-27487 envoy: Client may fake the header `x-envoy-original-path`
Product: [Other] Security Response Reporter: Anten Skrabec <askrabec>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jwendell, rcernich, sfowler, twalsh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in envoy. 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 could then be used for trace logs and grpc logs, used in the URL for jwt_authn checks if the jwt_authn filter is used, and any other upstream use of the x-envoy-original-path header.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-11 21:10:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2178208    

Description Anten Skrabec 2023-03-16 17:26:27 UTC
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.

Comment 5 errata-xmlrpc 2023-08-11 16:48:12 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Service Mesh 2.2 for RHEL 8

Via RHSA-2023:4623 https://access.redhat.com/errata/RHSA-2023:4623

Comment 6 Product Security DevOps Team 2023-08-11 21:10:32 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-27487