Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cometd | cometd | >= 5.0.0, < 5.0.23, >= 6.0.0, < 6.0.19, >= 7.0.0, < 7.0.19, >= 8.0.0, < 8.0.9 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.cometd.java:cometd-java-server-common | >= 5.0.0, < 5.0.23 | 5.0.23 | GHSA-cqgj-h8vf-4w59 |
| Maven | org.cometd.java:cometd-java-server-common | >= 6.0.0, < 6.0.19 | 6.0.19 | GHSA-cqgj-h8vf-4w59 |
| Maven | org.cometd.java:cometd-java-server-common | >= 7.0.0, < 7.0.19 | 7.0.19 | GHSA-cqgj-h8vf-4w59 |
| Maven | org.cometd.java:cometd-java-server-common | >= 8.0.0, < 8.0.9 | 8.0.9 | GHSA-cqgj-h8vf-4w59 |