Vulnerability · Published Mar 6, 2025 · Assigned by GitHub_M
CVE-2025-25294Envoy Gateway Log Injection Vulnerability
Medium 5.3
In plain English
A medium-severity security flaw in gateway from envoyproxy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. In all Envoy Gateway versions prior to 1.2.7 and 1.3.1 a default Envoy Proxy access log configuration is used. This format is vulnerable to log injection attacks. If the attacker uses a specially crafted user-agent which performs json injection, then he could add and overwrite fields to the access log. This vulnerability is fixed in 1.3.1 and 1.2.7. One can overwrite the old text based default format with JSON formatter by modifying the "EnvoyProxy.spec.telemetry.accessLog" setting.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/envoyproxy/gateway | 1.2.7 | GHSA-mf24-chxh-hmvj |
| Go | github.com/envoyproxy/gateway | 1.3.1 | GHSA-mf24-chxh-hmvj |
| Go | github.com/envoyproxy/gateway | 1.2.7, 1.3.1 | GO-2025-3504 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| envoyproxy | gateway | >= 1.3.0-rc.1, < 1.3.1< 1.2.7 |
Weakness: CWE-117 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N