{"schemaVersion":3,"id":"CVE-2022-22947","aliases":["GHSA-3gx9-37ww-9qw6"],"status":"published","duplicateOf":null,"title":"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.","dates":{"published":"2022-03-03T00:00:00.000Z","modified":"2025-10-21T23:15:45.220Z","reserved":null,"kevAdded":["2022-05-16T00:00:00.000Z"],"kevDue":["2022-06-06T00:00:00.000Z"]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.98253,"percentile":0.99916,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.98253},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.98253,"percentile":0.99916}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.98253,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.98253,"percentile":0.99916}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-05-16T00:00:00.000Z","dueDate":"2022-06-06T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"VMware Spring Cloud Gateway Code Injection Vulnerability","description":"Spring Cloud Gateway applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2022-22947","label":"nvd.nist.gov/vuln/detail/CVE-2022-22947"}],"vendor":"VMware","product":"Spring Cloud Gateway","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-05-16T00:00:00.000Z","dueDate":"2022-06-06T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"VMware Spring Cloud Gateway Code Injection Vulnerability","description":"Spring Cloud Gateway applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2022-22947","label":"nvd.nist.gov/vuln/detail/CVE-2022-22947"}],"vendor":"VMware","product":"Spring Cloud Gateway","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_C3E36C04E4F6C731","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_CC9C1E0FB2691632","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"50799","name":"Spring Cloud Gateway 3.1.0 - Remote Code Execution (RCE)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50799","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["java"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"java","file":"exploits/java/webapps/50799.py","codes":["CVE-2022-22947"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_SPRING_CLOUD_GATEWAY_RCE","name":"Spring Cloud Gateway Remote Code Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/spring_cloud_gateway_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/spring_cloud_gateway_rce","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":4,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"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 behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')","description":"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 incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/917.html"}],"affected":[{"vendor":"org.springframework.cloud","product":"spring-cloud-gateway","name":"org.springframework.cloud:spring-cloud-gateway","label":"spring-cloud-gateway","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.cloud/spring-cloud-gateway","purlType":"maven","versions":[{"text":"< 3.0.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1.0, < 3.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.7 | ≥ 3.1.0, < 3.1.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"purl","cycle":null,"product":{"name":"spring-cloud","label":"Spring Cloud","category":"framework"}},"hubHref":null},{"vendor":"oracle","product":"commerce_guided_search","name":"commerce guided search","label":"commerce_guided_search","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"11.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.3.2","eol":null,"hubHref":"/vendor/oracle/commerce_guided_search"},{"vendor":"oracle","product":"communications_cloud_native_core_binding_support_function","name":"communications cloud native core binding support function","label":"communications_cloud_native_core_binding_support_function","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.11.0","noFixRecorded":false,"fixedIn":null},{"text":"22.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.11.0 | 22.1.3","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_binding_support_function"},{"vendor":"oracle","product":"communications_cloud_native_core_console","name":"communications cloud native core console","label":"communications_cloud_native_core_console","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.2.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_console"},{"vendor":"oracle","product":"communications_cloud_native_core_network_exposure_function","name":"communications cloud native core network exposure function","label":"communications_cloud_native_core_network_exposure_function","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.1.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_network_exposure_function"},{"vendor":"oracle","product":"communications_cloud_native_core_network_function_cloud_native_environment","name":"communications cloud native core network function cloud native environment","label":"communications_cloud_native_core_network_function_cloud_native_environment","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.10.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_network_function_cloud_native_environment"},{"vendor":"oracle","product":"communications_cloud_native_core_network_repository_function","name":"communications cloud native core network repository function","label":"communications_cloud_native_core_network_repository_function","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.15.0","noFixRecorded":false,"fixedIn":null},{"text":"1.15.1","noFixRecorded":false,"fixedIn":null},{"text":"22.1.2","noFixRecorded":false,"fixedIn":null},{"text":"22.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.15.0 | 1.15.1 | 22.1.2 | 22.2.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_network_repository_function"},{"vendor":"oracle","product":"communications_cloud_native_core_network_slice_selection_function","name":"communications cloud native core network slice selection function","label":"communications_cloud_native_core_network_slice_selection_function","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.8.0","noFixRecorded":false,"fixedIn":null},{"text":"22.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.8.0 | 22.1.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_network_slice_selection_function"},{"vendor":"oracle","product":"communications_cloud_native_core_security_edge_protection_proxy","name":"communications cloud native core security edge protection proxy","label":"communications_cloud_native_core_security_edge_protection_proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"22.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"22.1.1","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_security_edge_protection_proxy"},{"vendor":"oracle","product":"communications_cloud_native_core_service_communication_proxy","name":"communications cloud native core service communication proxy","label":"communications_cloud_native_core_service_communication_proxy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.15.0","eol":null,"hubHref":"/vendor/oracle/communications_cloud_native_core_service_communication_proxy"},{"vendor":"vmware","product":"spring_cloud_gateway","name":"Spring Cloud Gateway","label":"spring_cloud_gateway","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.0.7","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.7 | 3.1.0","eol":null,"hubHref":"/vendor/vmware/spring_cloud_gateway"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://tanzu.vmware.com/security/cve-2022-22947","label":"tanzu.vmware.com/security/cve-2022-22947","hostname":"tanzu.vmware.com","tags":["WEB","Mitigation","Vendor Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","label":"www.oracle.com/security-alerts/cpuapr2022.html","hostname":"www.oracle.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["WEB","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["WEB","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22947","label":"nvd.nist.gov/vuln/detail/CVE-2022-22947","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-03-03T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-05-16T00:00:00.000Z","label":"Added to CISA KEV","detail":"VMware Spring Cloud Gateway Code Injection Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-06-06T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:15:45.220Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:12:07.228Z","stale":false,"partial":false}}