ADVISORIES

GitHub Advisory Database

GHSA-6j2q-c73v-97c5

Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies

Details

Spring Cloud Gateway Server forwards the X-Forwarded-For and Forwarded headers from untrusted proxies.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.cloud:spring-cloud-gateway-server
From 4.2.0 before 4.2.3 (fixed in 4.2.3)
Mavenorg.springframework.cloud:spring-cloud-gateway-server
From 4.1.0 before 4.1.8 (fixed in 4.1.8)
Mavenorg.springframework.cloud:spring-cloud-gateway-server
From 4.0.0 up to and including 4.0.9
Mavenorg.springframework.cloud:spring-cloud-gateway-server
All versions before 3.1.10 (fixed in 3.1.10)
Mavenorg.springframework.cloud:spring-cloud-gateway-server-mvc
From 4.1.7 before 4.2.3 (fixed in 4.2.3)

References