GitHub Advisory Database
GHSA-x9c7-5h6g-hq8q
Spring Cloud Function Context has Uncontrolled Recursion
Details
Under infinite recursion in the routing layer, request-handling can cause OOM error.
Affected Spring Products and Versions: Spring Cloud Function 3.2.x: versions prior to 3.2.16 Spring Cloud Function 4.1.x: versions prior to 4.1.10 Spring Cloud Function 4.2.x: versions prior to 4.2.6 Spring Cloud Function 4.3.x: versions prior to 4.3.3 Spring Cloud Function 5.0.x: versions prior to 5.0.2 Older, unsupported versions are also affected.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-function-context | From 4.3.0 before 4.3.3 (fixed in 4.3.3) |
| Maven | org.springframework.cloud:spring-cloud-function-context | From 5.0.0 before 5.0.2 (fixed in 5.0.2) |
| Maven | org.springframework.cloud:spring-cloud-function-context | From 3.2.10 up to and including 3.2.15 |
| Maven | org.springframework.cloud:spring-cloud-function-context | From 4.1.0 up to and including 4.1.9 |
| Maven | org.springframework.cloud:spring-cloud-function-context | From 4.2.0 up to and including 4.2.5 |