Log Injection Vulnerability in Envoy Gateway by Envoy Proxy
CVE-2025-25294
What is CVE-2025-25294?
Envoy Gateway is an open source application that manages Envoy Proxy as either a standalone service or within a Kubernetes environment. Prior to versions 1.2.7 and 1.3.1, Envoy Gateway utilized a default access log configuration that was susceptible to log injection attacks. An attacker could exploit this by crafting a specially formatted user-agent that executes JSON injection, thereby gaining the ability to manipulate and overwrite fields within the access log. To mitigate this vulnerability, users should upgrade to versions 1.3.1 or 1.2.7, which address this security issue by allowing a transition from the default text-based log format to a more secure JSON formatter through adjustments to the 'EnvoyProxy.spec.telemetry.accessLog' configuration.
Affected Version(s)
gateway >= 1.3.0-rc.1, < 1.3.1 < 1.3.0-rc.1, 1.3.1
gateway < 1.2.7 < 1.2.7
