{"id":"GHSA-6v73-fgf6-w5j7","summary":"Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression","details":"In Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions, when using routing functionality it is possible for a user to provide a specially crafted SpEL as a routing-expression that may result in remote code execution and access to local resources.","aliases":["CVE-2022-22963"],"modified":"2025-10-22T19:37:35.793185Z","published":"2022-04-03T00:00:59Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-04-05T18:48:10Z","nvd_published_at":"2022-04-01T23:15:00Z","cwe_ids":["CWE-917","CWE-94"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22963"},{"type":"PACKAGE","url":"https://github.com/spring-cloud/spring-cloud-function"},{"type":"WEB","url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005"},{"type":"WEB","url":"https://tanzu.vmware.com/security/cve-2022-22963"},{"type":"WEB","url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-scf-rce-DQrHhJxH"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22963"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/173430/Spring-Cloud-3.2.2-Remote-Command-Execution.html"}],"affected":[{"package":{"name":"org.springframework.cloud:spring-cloud-function-context","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"fixed":"3.2.3"}]}],"versions":["3.2.0","3.2.1","3.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-6v73-fgf6-w5j7/GHSA-6v73-fgf6-w5j7.json"}},{"package":{"name":"org.springframework.cloud:spring-cloud-function-context","ecosystem":"Maven","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.7"}]}],"versions":["1.0.0.RELEASE","1.0.1.RELEASE","1.0.2.RELEASE","2.0.0.RELEASE","2.0.1.RELEASE","2.0.2.RELEASE","2.1.0.RELEASE","2.1.1.RELEASE","3.0.0.RELEASE","3.0.1.RELEASE","3.0.10.RELEASE","3.0.11.RELEASE","3.0.12.RELEASE","3.0.13.RELEASE","3.0.14.RELEASE","3.0.2.RELEASE","3.0.3.RELEASE","3.0.4.RELEASE","3.0.5.RELEASE","3.0.6.RELEASE","3.0.7.RELEASE","3.0.8.RELEASE","3.0.9.RELEASE","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-6v73-fgf6-w5j7/GHSA-6v73-fgf6-w5j7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H"}]}