ADVISORIES

GitHub Advisory Database

GHSA-3gx9-37ww-9qw6

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

Critical Known exploited CVE-2022-22947

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.cloud:spring-cloud-gateway
All versions before 3.0.7 (fixed in 3.0.7)
Mavenorg.springframework.cloud:spring-cloud-gateway
From 3.1.0 before 3.1.1 (fixed in 3.1.1)

References