### Impact Bad clients that always send a fixed batch value while the server is using the acknowledgement extension can cause the unacknowledged message queue to grow indefinitely, eventually resulting in an OutOfMemoryError. Such bad clients would always send: ```json { "channel": "/meta/connect", ... "ext": { "ack": 1 } } ``` The server would never clear the unacknowledged message queue, and one bad client can cause a server outage. ### Patches 5.0.x - https://github.com/cometd/cometd/pull/2168 6.0.x - https://github.com/cometd/cometd/pull/2169 8.0.x - https://github.com/cometd/cometd/pull/2118 ### Workarounds Disable the acknowledgement extension. ### Resources https://github.com/cometd/cometd/discussions/2116 https://github.com/cometd/cometd/issues/2117
Update org.cometd.java:cometd-java-server-common to 5.0.23; org.cometd.java:cometd-java-server-common to 6.0.19; org.cometd.java:cometd-java-server-common to 7.0.19; org.cometd.java:cometd-java-server-common to 8.0.9 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanAcknowledgement extension out of memory affects org.cometd.java:cometd-java-server-common (maven), org.cometd.java:cometd-java-server-common (maven), org.cometd.java:cometd-java-server-common (maven), org.cometd.java:cometd-java-server-common (maven). Severity is high. ### Impact Bad clients that always send a fixed batch value while the server is using the acknowledgement extension can cause the unacknowledged message queue to grow indefinitely, eventually resulting in an OutOfMemoryError. Such bad clients would always send: ```json { "channel": "/meta/connect", ... "ext": { "ack": 1 } } ``` The server would never clear the unacknowledged message queue, and one bad client can cause a server outage. ### Patches 5.0.x - https://github.com/cometd/cometd/pull/2168 6.0.x - https://github.com/cometd/cometd/pull/2169 8.0.x - https://github.com/cometd/cometd/pull/2118 ### Workarounds Disable the acknowledgement extension. ### Resources https://github.com/cometd/cometd/discussions/2116 https://github.com/cometd/cometd/issues/2117
AI coding agents often install or upgrade packages automatically in maven. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
### Impact Bad clients that always send a fixed batch value while the server is using the acknowledgement extension can cause the unacknowledged message queue to grow indefinitely, eventually resulting in an OutOfMemoryError. Such bad clients would always send: ```json { "channel": "/meta/connect", ... "ext": { "ack": 1 } } ``` The server would never clear the unacknowledged message queue, and one bad client can cause a server outage. ### Patches 5.0.x - https://github.com/cometd/cometd/pull/2168 6.0.x - https://github.com/cometd/cometd/pull/2169 8.0.x - https://github.com/cometd/cometd/pull/2118 ### Workarounds Disable the acknowledgement extension. ### Resources https://github.com/cometd/cometd/discussions/2116 https://github.com/cometd/cometd/issues/2117
Update org.cometd.java:cometd-java-server-common to 5.0.23; org.cometd.java:cometd-java-server-common to 6.0.19; org.cometd.java:cometd-java-server-common to 7.0.19; org.cometd.java:cometd-java-server-common to 8.0.9 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanAcknowledgement extension out of memory affects org.cometd.java:cometd-java-server-common (maven), org.cometd.java:cometd-java-server-common (maven), org.cometd.java:cometd-java-server-common (maven), org.cometd.java:cometd-java-server-common (maven). Severity is high. ### Impact Bad clients that always send a fixed batch value while the server is using the acknowledgement extension can cause the unacknowledged message queue to grow indefinitely, eventually resulting in an OutOfMemoryError. Such bad clients would always send: ```json { "channel": "/meta/connect", ... "ext": { "ack": 1 } } ``` The server would never clear the unacknowledged message queue, and one bad client can cause a server outage. ### Patches 5.0.x - https://github.com/cometd/cometd/pull/2168 6.0.x - https://github.com/cometd/cometd/pull/2169 8.0.x - https://github.com/cometd/cometd/pull/2118 ### Workarounds Disable the acknowledgement extension. ### Resources https://github.com/cometd/cometd/discussions/2116 https://github.com/cometd/cometd/issues/2117
AI coding agents often install or upgrade packages automatically in maven. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|
| org.cometd.java:cometd-java-server-commonmaven | >=5.0.0,<=5.0.22 | 5.0.23 |
|---|---|---|
| org.cometd.java:cometd-java-server-commonmaven | >=6.0.0,<=6.0.18 | 6.0.19 |
| org.cometd.java:cometd-java-server-commonmaven | >=7.0.0,<=7.0.18 | 7.0.19 |
| org.cometd.java:cometd-java-server-commonmaven | >=8.0.0,<=8.0.8 | 8.0.9 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| Package | Affected range | Fixed version |
|---|
| org.cometd.java:cometd-java-server-commonmaven | >=5.0.0,<=5.0.22 | 5.0.23 |
|---|---|---|
| org.cometd.java:cometd-java-server-commonmaven | >=6.0.0,<=6.0.18 | 6.0.19 |
| org.cometd.java:cometd-java-server-commonmaven | >=7.0.0,<=7.0.18 | 7.0.19 |
| org.cometd.java:cometd-java-server-commonmaven | >=8.0.0,<=8.0.8 | 8.0.9 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard