CRITICAL 9.8

CVE-2022-22963

Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression

Known exploited: listed in the CISA Known Exploited Vulnerabilities catalog.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.cloud » spring-cloud-function-context
< 3.1.7>= 3.2.0, < 3.2.3
3.1.7, 3.2.3

Blast radius

1affected artifacts
62affected versions
491dependent artifacts (est.)
6,751dependent versions

32% of the dependent artifacts (162) still pull an affected version in their latest release.

DepthDependent versions
Direct
614
2 hops
2,043
3 hops
3,224
4 hops
516
5 hops
336
6 hops
18

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.