Spring Cloud Gateway vulnerable to Code Injection when Gateway Actuator endpoint enabled, exposed, unsecured
Spring Cloud Gateway
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on May 16, 2022. US federal agencies must patch by Jun 6, 2022.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-gateway Maven |
|
|
Original description
In spring cloud gateway versions prior to 3.1.1+ and 3.0.7+ , applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured. A remote attacker could make a maliciously crafted request that could allow arbitrary remote execution on the remote host.