CVE-2022-22947
CRITICALSpring Cloud Gateway vulnerable to Code Injection when Gateway Actuator endpoint enabled, exposed, unsecured
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
org.springframework.cloud:spring-cloud-gateway☕org.springframework.cloud:spring-cloud-gatewayReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.cloud:spring-cloud-gateway | all versions | 3.0.7 |
| ☕Maven | org.springframework.cloud:spring-cloud-gateway | ≥ 3.1.0&&< 3.1.1 | 3.1.1 |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Spring Cloud Gateway 3.1.0 - Remote Code Execution (RCE)
by Carlos E. Vieira · Mar 7, 2022
Frequently Asked Questions
Is CVE-2022-22947 in your stack?
O3 detects CVE-2022-22947 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.