CRITICAL10.0
GHSA-3gx9-37ww-9qw6
Spring Cloud Gateway vulnerable to Code Injection when Gateway Actuator endpoint enabled, exposed, unsecured
Quick fix
GHSA-3gx9-37ww-9qw6 — org.springframework.cloud:spring-cloud-gateway: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.0.7</version> for org.springframework.cloud:spring-cloud-gatewayDetails
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 resulting in arbitrary remote execution on the remote host.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.springframework.cloud:spring-cloud-gateway
Introduced in:
0Fixed in: 3.0.7Fix
# pom.xml: bump <version>3.0.7</version> for org.springframework.cloud:spring-cloud-gatewayMaven/org.springframework.cloud:spring-cloud-gateway
Introduced in:
3.1.0Fixed in: 3.1.1Fix
# pom.xml: bump <version>3.1.1</version> for org.springframework.cloud:spring-cloud-gatewayReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-22947[ADVISORY]
- https://tanzu.vmware.com/security/cve-2022-22947[WEB]
- https://www.oracle.com/security-alerts/cpuapr2022.html[WEB]
- https://www.oracle.com/security-alerts/cpujul2022.html[WEB]
- http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html[WEB]
- http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html[WEB]