Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreApplications using Spring Cloud Gateway 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.
Spring Cloud Gateway:
| Fix version | Availability |
|---|---|
| 3.1.1 | OSS |
| 3.0.7 | OSS |
If the Gateway actuator endpoint is not needed it should be disabled via management.endpoint.gateway.enabled: false. If the actuator is required it should be secured using Spring Security, see https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.endpoints.security.
This vulnerability was discovered and responsibly reported by Wyatt Dahlenburg.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy