VDB
Sign up
HIGH7.5

GHSA-5568-6qcg-g7fx

Apache ActiveMQ: Denial of Service via Out of Memory vulnerability

Quick fix

GHSA-5568-6qcg-g7fx — org.apache.activemq:activemq-client: upgrade to the fixed version with the command below.

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

Details

Denial of Service via Out of Memory vulnerability in Apache ActiveMQ Client, Apache ActiveMQ Broker, Apache ActiveMQ.

ActiveMQ NIO SSL transports do not correctly handle TLSv1.3 handshake KeyUpdates triggered by clients. This makes it possible for a client to rapidly trigger updates which causes the broker to exhaust all its memory in the SSL engine leading to DoS.

Note: TLS versions before TLSv1.3 (such as TLSv1.2) are broken but are not vulnerable to OOM. Previous TLS versions require a full handshake renegotiation which causes a connection to hang but not OOM. This is fixed as well. This issue affects Apache ActiveMQ Client: before 5.19.4, from 6.0.0 before 6.2.4; Apache ActiveMQ Broker: before 5.19.4, from 6.0.0 before 6.2.4; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.4.

Users are recommended to upgrade to version 6.2.4 or 5.19.5, which fixes the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.activemq:activemq-client
Introduced in: 0Fixed in: 5.19.4
Fix# pom.xml: bump <version>5.19.4</version> for org.apache.activemq:activemq-client
Maven/org.apache.activemq:activemq-client
Introduced in: 6.0.0Fixed in: 6.2.4
Fix# pom.xml: bump <version>6.2.4</version> for org.apache.activemq:activemq-client
Maven/org.apache.activemq:activemq-broker
Introduced in: 0Fixed in: 5.19.4
Fix# pom.xml: bump <version>5.19.4</version> for org.apache.activemq:activemq-broker
Maven/org.apache.activemq:activemq-broker
Introduced in: 6.0.0Fixed in: 6.2.4
Fix# pom.xml: bump <version>6.2.4</version> for org.apache.activemq:activemq-broker
Maven/org.apache.activemq:activemq-all
Introduced in: 0Fixed in: 5.19.4
Fix# pom.xml: bump <version>5.19.4</version> for org.apache.activemq:activemq-all
Maven/org.apache.activemq:activemq-all
Introduced in: 6.0.0Fixed in: 6.2.4
Fix# pom.xml: bump <version>6.2.4</version> for org.apache.activemq:activemq-all
Maven/org.apache.activemq:apache-activemq
Introduced in: 0Fixed in: 5.19.4
Fix# pom.xml: bump <version>5.19.4</version> for org.apache.activemq:apache-activemq
Maven/org.apache.activemq:apache-activemq
Introduced in: 6.0.0Fixed in: 6.2.4
Fix# pom.xml: bump <version>6.2.4</version> for org.apache.activemq:apache-activemq

References