CVEs / CVE-2022-22947
CVE-2022-22947: VMware Spring Cloud Gateway Code Injection Vulnerability
- Known exploited in the CISA KEV catalog since 16 May 2022
- critical 10 CVSS 3.1 (NVD)
- EPSS 98.2% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-22947
Summary
Spring Cloud Gateway applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured.
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a Spring Cloud Gateway | Spring cloud gateway versions 3.1.x prior to 3.1.1+, 3.0.x prior to 3.0.7+ and all old and unsupported versions | — |
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-gateway (Maven) | before 3.0.7 | 3.0.7 |
| org.springframework.cloud:spring-cloud-gateway (Maven) | from 3.1.0, before 3.1.1 | 3.1.1 |
Package versions from GHSA-3gx9-37ww-9qw6.
Exploitation
| In CISA KEV since | 16 May 2022 |
|---|---|
| Due date for US federal agencies | 6 Jun 2022 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 10 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-94, CWE-917 |
References
- CVE-2022-22947 on NVD
- CVE-2022-22947 in the CISA KEV catalog
- CVE-2022-22947 on OSV
- http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry
- https://tanzu.vmware.com/security/cve-2022-22947 Mitigation, Vendor Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.html Patch, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.html Patch, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.