Skip to main content

Improper Input Validation

CVE-2023-27487

Severity High
Score 9.1/10

Summary

Envoy is an open-source edge and service proxy designed for cloud-native applications. In versions through v1.22.9, v1.23.0 through v1.23.6, v1.24.0 through v1.24.4, v1.25.0 through v1.25.3, 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 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.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-20 - Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Advisory Timeline

  • Published