spring-cloud/spring-cloud-function · Security
Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression
- GHSA ID
- GHSA-6v73-fgf6-w5j7
- CVE ID
- CVE-2022-22963
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Description
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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-917 · Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22963 ↗
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005 ↗
- https://tanzu.vmware.com/security/cve-2022-22963 ↗
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-scf-rce-DQrHhJxH ↗
- https://www.oracle.com/security-alerts/cpuapr2022.html ↗
- https://www.oracle.com/security-alerts/cpujul2022.html ↗
- http://packetstormsecurity.com/files/173430/Spring-Cloud-3.2.2-Remote-Command-Execution.html ↗
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22963 ↗
- https://github.com/advisories/GHSA-6v73-fgf6-w5j7 ↗