CometD has acknowledgement extension out of memory
cometd
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.cometd.java:cometd-java-server-common Maven |
|
|
cometd
| Product | Affected | Fixed in |
|---|---|---|
| org.cometd.java:cometd-java-server-common Maven |
|
|
CometD is a scalable comet implementation for web messaging. In versions 5.0.0 through 5.0.22, 6.0.0 through 6.0.18, 7.0.0 through 7.0.18, and 8.0.0 through 8.0.8, bad clients that always send a fixed batch value when the server is using the acknowledgement extension may cause the unacknowledged message queue to grow indefinitely, eventually causing an `OutOfMemoryError`. Versions 5.0.23, 6.0.19, 7.0.19, and 8.0.9 patch the issue. As a workaround, disable the acknowledgement extension.
From the CVE record · GitHub_M
Affected CometD server versions can let the unacknowledged message queue grow indefinitely when the acknowledgement extension is enabled and a client repeatedly sends a fixed batch value. This can eventually cause an OutOfMemoryError. The input does not specify whether authentication is required.
Engineers running Maven package org.cometd.java:cometd-java-server-common versions 5.0.0–5.0.22, 6.0.0–6.0.18, 7.0.0–7.0.18, or 8.0.0–8.0.8 should check their deployments.