CVE-2023-27487
envoy: Client may fake the header `x-envoy-original-path`
Overview
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.
Source: OX vulnerability database
Severity
9.1 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | envoy | <1.22.9>=1.23.0, <1.23.6>=1.24.0, <1.24.4>=1.25.0, <1.25.3 | 1.22.91.23.61.24.41.25.3 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
Oracle Linux 2 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | istio +1 | 1.16.4-1.el7 |
| 7 | kubeadm +2 | 1.25.7-2.el7 |
| 7 | olcne-agent +16 | 1.6.1-9.el7 |
| 8 | istio +1 | 1.16.4-1.el8 |
| 8 | kubeadm +2 | 1.25.7-2.el8 |
| 8 | olcne-agent +16 | 1.6.1-9.el8 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | servicemesh-proxy +1 | affected |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | ecs-service-connect-agent | v1.25.4.0-1.amzn2023 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-27487
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-5375-pq35-hf2g
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-27487.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-23649.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-27487
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-27487
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.