Code injection in Spring Cloud Gateway
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | 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 | — | No fix listed | CNA |
| — | org.springframework.cloud:spring-cloud-gateway (Maven) | before 3.0.7 | 3.0.7 | Patch available | GHSA-3gx9-37ww-9qw6 |
| — | org.springframework.cloud:spring-cloud-gateway (Maven) | 3.1.0 to before 3.1.1 | 3.1.1 | Patch available | GHSA-3gx9-37ww-9qw6 |
- Spring Cloud Gateway Vendor— Affected 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 Fixed in — No fix listed CNA
- org.springframework.cloud:spring-cloud-gateway (Maven) Vendor— Affected before 3.0.7 Fixed in 3.0.7 Patch available GHSA-3gx9-37ww-9qw6
- org.springframework.cloud:spring-cloud-gateway (Maven) Vendor— Affected 3.1.0 to before 3.1.1 Fixed in 3.1.1 Patch available GHSA-3gx9-37ww-9qw6
CPE configurations NVD · 16
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vmware:spring_cloud_gateway:*:*:*:*:*:*:*:* | before 3.0.7 | Vulnerable | VMware |
| cpe:2.3:a:vmware:spring_cloud_gateway:3.1.0:*:*:*:*:*:*:* | 3.1.0 | Vulnerable | VMware |
| cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:* | 11.3.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:* | 1.11.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:22.1.3:*:*:*:*:*:*:* | 22.1.3 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_console:22.2.0:*:*:*:*:*:*:* | 22.2.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_exposure_function:22.1.0:*:*:*:*:*:*:* | 22.1.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* | 1.10.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:1.15.0:*:*:*:*:*:*:* | 1.15.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:1.15.1:*:*:*:*:*:*:* | 1.15.1 | Vulnerable | Oracle |
- cpe:2.3:a:vmware:spring_cloud_gateway:*:*:*:*:*:*:*:* Versions before 3.0.7 Vulnerable ·VMware
- cpe:2.3:a:vmware:spring_cloud_gateway:3.1.0:*:*:*:*:*:*:* Versions 3.1.0 Vulnerable ·VMware
- cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:* Versions 11.3.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.11.0:*:*:*:*:*:*:* Versions 1.11.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:22.1.3:*:*:*:*:*:*:* Versions 22.1.3 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_console:22.2.0:*:*:*:*:*:*:* Versions 22.2.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_network_exposure_function:22.1.0:*:*:*:*:*:*:* Versions 22.1.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* Versions 1.10.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:1.15.0:*:*:*:*:*:*:* Versions 1.15.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:1.15.1:*:*:*:*:*:*:* Versions 1.15.1 Vulnerable ·Oracle
Show 6 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:22.1.2:*:*:*:*:*:*:* | 22.1.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:22.2.0:*:*:*:*:*:*:* | 22.2.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:* | 1.8.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:22.1.0:*:*:*:*:*:*:* | 22.1.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:22.1.1:*:*:*:*:*:*:* | 22.1.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_cloud_native_core_service_communication_proxy:1.15.0:*:*:*:*:*:*:* | 1.15.0 | Vulnerable | Oracle |
- cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:22.1.2:*:*:*:*:*:*:* Versions 22.1.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:22.2.0:*:*:*:*:*:*:* Versions 22.2.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:1.8.0:*:*:*:*:*:*:* Versions 1.8.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_network_slice_selection_function:22.1.0:*:*:*:*:*:*:* Versions 22.1.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:22.1.1:*:*:*:*:*:*:* Versions 22.1.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_cloud_native_core_service_communication_proxy:1.15.0:*:*:*:*:*:*:* Versions 1.15.0 Vulnerable ·Oracle
Remediation
- Fix · GHSA-3gx9-37ww-9qw6 org.springframework.cloud:spring-cloud-gateway (Maven) Fixed in 3.0.7 Advisory →
- Fix · GHSA-3gx9-37ww-9qw6 org.springframework.cloud:spring-cloud-gateway (Maven) Fixed in 3.1.1 Advisory →
Timeline
- 2022-05-16 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2022-22947
- 2026-10-03 Alias added: GHSA-3gx9-37ww-9qw6
References
Exploit 2
Patch 2
More VMware Spring Cloud Gateway vulnerabilities
- TI-2026-35278 Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies in certain situations CVSS 3.1HIGH 8.6
- TI-2026-35327 Spring Cloud Gateway SSRF and native file access with gRPC CVSS 3.1HIGH 8.7
- TI-2026-18273 SSL bundle configuration silently bypassed in Spring Cloud Gateway CVSS 3.1HIGH 7.5
- TI-2022-07124 Improper certificate validation in Spring Cloud Gateway CVSS 3.1MEDIUM 5.5
- TI-2021-05091 Incorrect authorization in Spring Cloud Gateway CVSS 3.1MEDIUM 6.5
Sources
- CVE-2022-22947 · CVE Program
- CVE-2022-22947 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-3gx9-37ww-9qw6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences