VDB
Sign up
HIGH7.5

GHSA-xjwq-9jw5-jf7w

Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp has an Improper Input Validation vulnerability

Quick fix

GHSA-xjwq-9jw5-jf7w — org.apache.activemq:apache-activemq: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.19.8</version> for org.apache.activemq:apache-activemq

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.activemq:apache-activemq
Introduced in: 0Fixed in: 5.19.8
Fix# pom.xml: bump <version>5.19.8</version> for org.apache.activemq:apache-activemq
Maven/org.apache.activemq:apache-activemq
Introduced in: 6.0.0Fixed in: 6.2.7
Fix# pom.xml: bump <version>6.2.7</version> for org.apache.activemq:apache-activemq
Maven/org.apache.activemq:activemq-all
Introduced in: 0Fixed in: 5.19.8
Fix# pom.xml: bump <version>5.19.8</version> for org.apache.activemq:activemq-all
Maven/org.apache.activemq:activemq-all
Introduced in: 6.0.0Fixed in: 6.2.7
Fix# pom.xml: bump <version>6.2.7</version> for org.apache.activemq:activemq-all
Maven/org.apache.activemq:activemq-stomp
Introduced in: 0Fixed in: 5.19.8
Fix# pom.xml: bump <version>5.19.8</version> for org.apache.activemq:activemq-stomp
Maven/org.apache.activemq:activemq-stomp
Introduced in: 6.0.0Fixed in: 6.2.7
Fix# pom.xml: bump <version>6.2.7</version> for org.apache.activemq:activemq-stomp

References