Apache Software Foundation Apache ActiveMQ
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: STOMP negative content-length enables denial of service
Improper Input Validation vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp. A remote unauthenticated peer that can reach an exposed STOMP connector can trigger denial-of-service behavior by sending a negative content-length. For the NIO STOMP transport, an attacker can keep streaming body bytes and grow the per-connection command buffer beyond configured limits to cause OOM. For the blocking STOMP protocol, an error will instead force abnormal transport exception handling for the affected connection and closure. 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.19.8
- >= 6.0.0, < 6.2.7
Fixed in 5.19.8, 6.2.7
- < 5.19.8
- >= 6.0.0, < 6.2.7
Fixed in 5.19.8, 6.2.7
- < 5.19.8
- >= 6.0.0, < 6.2.7
Fixed in 5.19.8, 6.2.7
Mitigation
Upgrade Apache ActiveMQ to 5.19.8 or 6.2.7 or later.
Upgrade Apache ActiveMQ All to 5.19.8 or 6.2.7 or later.
Upgrade Apache ActiveMQ Stomp to 5.19.8 or 6.2.7 or later.
References
- Vendor advisory lists.apache.org/thread/fsjb26605syqr8xks249h8gkp86t…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.