Spring Integration FluxAggregatorMessageHandler unbounded memory consumption via the sequenceSize message header
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spring | Spring Integration | affected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.621% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-770 | |
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | By default, the FluxAggregatorMessageHandler derives the window size for a correlation group from the sequenceSize message header and passes it to the Reactor Flux.window(int) operator without any validation. A remote sender whose messages reach a default-configured FluxAggregatorMessageHandler can set this header to a very large value, such as Integer.MAX_VALUE , which opens a window that never closes. All subsequent messages for that correlation key are then buffered in memory indefinitely, which leads to heap exhaustion and a denial of service for the whole application. A non-positive header value, or a message without a correlation key, also terminates the whole aggregating Flux , so the handler stops releasing any further groups. An application is affected if it uses the FluxAggregatorMessageHandler with the default window size (taken from the sequenceSize header) and the correlationId and sequenceSize headers can be set by untrusted message sources. | |
| Title | Spring Integration FluxAggregatorMessageHandler unbounded memory consumption via the sequenceSize message header | |
| References |
| |
| Metrics |
cvssV3_1
|
No data.
Allocation of Resources Without Limits or Throttling