Spring Cloud Gateway vulnerable to Code Injection when Gateway Actuator endpoint enabled, exposed, unsecured

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.

Vulnerability ID: GHSA-3gx9-37ww-9qw6
Aliases: CVE-2022-22947
Published: 2022-03-04 00:00:15
CWE: CWE-917
CWE-94
Severity rating: CRITICAL
CVSS: type: CVSS_V3
score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected packages:
package: ecosystem: Maven
name: org.springframework.cloud:spring-cloud-gateway
package: ecosystem: Maven
name: org.springframework.cloud:spring-cloud-gateway