Unbounded cache for function definitions
Spring Cloud Function
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-function-context Maven |
|
|
Spring Cloud Function
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-function-context Maven |
|
|
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.
From the CVE record · vmware
Spring Cloud Function can run out of memory when an unlimited number of functions are added to the Function Registry. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Teams running Spring Cloud Function 3.2.x before 3.2.16, 4.1.x before 4.1.10, 4.2.x before 4.2.6, 4.3.x before 4.3.3, or 5.0.x before 5.0.2 should check their deployments; older unsupported versions are also affected.