Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression
Spring Cloud Function
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Aug 25, 2022. US federal agencies must patch by Sep 15, 2022.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-function-context Maven |
|
|
Original 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.