CVE-2022-22947In spring cloud gateway versions prior to 3.1.1+ and 3.0.7+ , applications are vulnerable to a code injection attack when the Gateway…
- 10.0CriticalCVSS base score
- 98.3%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 16 May 2022
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as VMware Spring Cloud Gateway Code Injection Vulnerability.
- Added
- 16 May 2022
- Fix due (US federal)
- 6 Jun 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 16 May 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and an Exploit-DB entry for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Metasploit modules1 module
- Spring Cloud Gateway Remote Code Execution (Metasploit module) (opens in a new tab)
exploit/linux/http/spring_cloud_gateway_rceRank excellentdisclosed 26 Jan 2022
Nuclei templates1 template
- Spring Cloud Gateway Code Injection (Nuclei template) (opens in a new tab)
http/cves/2022/CVE-2022-22947.yamlSeverity critical
Exploit-DB1 entry
- Spring Cloud Gateway 3.1.0 - Remote Code Execution (RCE) (Exploit-DB entry) (opens in a new tab)
EDB-ID 50799webapps, javapublished 7 Mar 2022Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By vmware
- 52 days later
· 52 days later
Published
- 2 months later
· 2 months later
Added to CISA KEV
Known exploited in the wild
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 98.3% · top 0.1% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 10.0.
Affected products
Spring Cloud Gateway
- 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
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.springframework.cloud:spring-cloud-gatewayGHSA-3gx9-37ww-9qw6 (opens in a new tab)
References
References6
- https://tanzu.vmware.com/security/cve-2022-22947 (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-1288 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3gx9-37ww-9qw6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-22947)Record last updated .