VDB
Sign up
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-context

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.

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.3
Fix# pom.xml: bump <version>3.2.3</version> for org.springframework.cloud:spring-cloud-function-context
Maven/org.springframework.cloud:spring-cloud-function-context
Introduced in: 0Fixed in: 3.1.7
Fix# pom.xml: bump <version>3.1.7</version> for org.springframework.cloud:spring-cloud-function-context

References