CRITICAL9.8
GHSA-6v73-fgf6-w5j7
Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression
Quick fix
GHSA-6v73-fgf6-w5j7 — org.springframework.cloud:spring-cloud-function-context: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.2.3</version> for org.springframework.cloud:spring-cloud-function-contextDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.springframework.cloud:spring-cloud-function-context
Introduced in:
3.2.0Fixed in: 3.2.3Fix
# pom.xml: bump <version>3.2.3</version> for org.springframework.cloud:spring-cloud-function-contextMaven/org.springframework.cloud:spring-cloud-function-context
Introduced in:
0Fixed in: 3.1.7Fix
# pom.xml: bump <version>3.1.7</version> for org.springframework.cloud:spring-cloud-function-contextReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-22963[ADVISORY]
- https://github.com/spring-cloud/spring-cloud-function[PACKAGE]
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005[WEB]
- https://tanzu.vmware.com/security/cve-2022-22963[WEB]
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-scf-rce-DQrHhJxH[WEB]
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22963[WEB]
- https://www.oracle.com/security-alerts/cpuapr2022.html[WEB]
- https://www.oracle.com/security-alerts/cpujul2022.html[WEB]
- http://packetstormsecurity.com/files/173430/Spring-Cloud-3.2.2-Remote-Command-Execution.html[WEB]