Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: Unbounded header buffer in STOMP NIO codec
Apache Software Foundation Apache ActiveMQ · Apache Software Foundation Apache ActiveMQ All · Apache Software Foundation Apache ActiveMQ Stomp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache ActiveMQ |
| No fix yet |
| Apache Software Foundation Apache ActiveMQ All |
| No fix yet |
| Apache Software Foundation Apache ActiveMQ Stomp |
| No fix yet |
Original description
Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp.
An unauthenticated client that opens a STOMP NIO connection can send header bytes that never terminate which makes the broker buffer them without limit, exhausting the JVM heap. This issue affects Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ All: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Stomp: before 5.19.8, from 6.0.0 before 6.2.7.
Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.
From the CVE record · apache