{"id":"CVE-2022-22947","details":"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.","aliases":["GHSA-3gx9-37ww-9qw6"],"modified":"2026-08-12T03:51:22.392201760Z","published":"2022-03-03T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22947.json","unresolved_ranges":[{"extracted_events":[{"introduced":"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"},{"last_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"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"vmware","cwe_ids":["CWE-94"]},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.html"},{"type":"WEB","url":"https://tanzu.vmware.com/security/cve-2022-22947"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22947.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22947"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-cloud/spring-cloud-gateway","events":[{"introduced":"0"},{"fixed":"2b4b39598dbbb7baa8426a283050a5b9490bb28b"},{"introduced":"e5471d91f8d4b89ac662e2725ce0d237684edfe2"},{"last_affected":"e5471d91f8d4b89ac662e2725ce0d237684edfe2"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.0.7"},{"introduced":"3.1.0"},{"last_affected":"3.1.0"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:vmware:spring_cloud_gateway:*:*:*:*:*:*:*:*","cpe:2.3:a:vmware:spring_cloud_gateway:3.1.0:*:*:*:*:*:*:*"]}}],"versions":["3.1.0","v3.0.6","v3.1.0","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v3.0.0-RC1","v3.0.0-M6","v3.0.0-M5","v3.0.0-M4","v3.0.0-M3","v3.0.0-M2","v3.0.0.M1","v2.2.1.RELEASE","v2.2.0.RELEASE","v2.2.0.RC2","v2.2.0.RC1","v2.2.0.M3","v2.2.0.M2","v2.1.1.RELEASE","v2.1.0.RELEASE","v2.1.0.RC3","v2.1.0.RC2","v2.1.0.RC1","v2.1.0.M3","v2.1.0.M2","v2.1.0.M1","v2.0.1.RELEASE","v2.0.0.RELEASE","v2.0.0.RC2","v2.0.0.RC1","v2.0.0.M9","v2.0.0.M8","v2.0.0.M7","v2.0.0.M6","v2.0.0.M5","v2.0.0.M4","v2.0.0.M3","v2.0.0.M2","v2.0.0.M1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-22947.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}