CVE-2022-22947
VMware Spring Cloud Gateway Code Injection Vulnerability
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.
Description as published by the source, in English.
Key facts
- Published
- 2022-03-03
- Last modified
- 2026-06-17
- Assigned by
- security@vmware.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
98.3 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2022-05-16, with a remediation deadline of 2022-06-06 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Oracle | Commerce Guided Search | 11.3.2 | Affected |
| Oracle | Communications Cloud Native Core Binding Support Function | 1.11.0 | Affected |
| Oracle | Communications Cloud Native Core Binding Support Function | 22.1.3 | Affected |
| Oracle | Communications Cloud Native Core Console | 22.2.0 | Affected |
| Oracle | Communications Cloud Native Core Network Exposure Function | 22.1.0 | Affected |
| Oracle | Communications Cloud Native Core Network Function Cloud Native Environment | 1.10.0 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 1.15.0 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 1.15.1 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 22.1.2 | Affected |
| Oracle | Communications Cloud Native Core Network Repository Function | 22.2.0 | Affected |
| Oracle | Communications Cloud Native Core Network Slice Selection Function | 1.8.0 | Affected |
| Oracle | Communications Cloud Native Core Network Slice Selection Function | 22.1.0 | Affected |
| Oracle | Communications Cloud Native Core Security Edge Protection Proxy | 22.1.1 | Affected |
| Oracle | Communications Cloud Native Core Service Communication Proxy | 1.15.0 | Affected |
| org.springframework.cloud | spring-cloud-gateway (Maven) | < 3.0.7 | Affected |
| org.springframework.cloud | spring-cloud-gateway (Maven) | ≥ 3.1.0, < 3.1.1 | Affected |
| Vmware | Spring Cloud Gateway | < 3.0.7 | Affected |
| Vmware | Spring Cloud Gateway | 3.1.0 | Affected |
Weakness type
-
CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement
The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or inc…
-
CWE-94: Improper Control of Generation of Code
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or b…
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1564.009: Resource Forking
References
- http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execut…
- http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execut…
- https://tanzu.vmware.com/security/cve-2022-22947
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execut…
- http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execut…
- https://tanzu.vmware.com/security/cve-2022-22947
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.