Spring Cloud Gateway
Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies in certain situations
Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies in certain configuration scenarios. This affects both the WebMVC and WebFlux Gateway Servers. Affected versions: Spring Cloud Gateway 3.1.x (fix 3.1.13). Spring Cloud Gateway 4.1.x (fix 4.1.13). Spring Cloud Gateway 4.2.x (fix 4.2.9). Spring Cloud Gateway 4.3.x (fix 4.3.5). Spring Cloud Gateway 5.0.x (fix 5.0.2).
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-346
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Spring Spring Cloud Gateway
- >= 3.1.0, < 3.1.13
- >= 4.1.0, < 4.1.13
- >= 4.2.0, < 4.2.9
- >= 4.3.0, < 4.3.4.1
- >= 5.0.0, < 5.0.1.1
Fixed in 3.1.13, 4.1.13, 4.2.9, 4.3.4.1, 5.0.1.1
Mitigation
Upgrade Spring Cloud Gateway to 3.1.13 or 4.1.13 or 4.2.9 or 4.3.4.1 or 5.0.1.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.