GitHub Advisory Database
GHSA-x4h3-g2x4-8gqv
Spring Cloud Function Context: Uncontrolled Recursion is possible while attempting to add infinite amount of functions to Function Registry
Details
OOM error is possible while attempting to add infinite amount of functions to Function Registry.
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 |