ADVISORIES

GitHub Advisory Database

GHSA-f77w-px59-cqf5

Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability

Details

Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker.

An authenticated user can cause a broker DoS by sending a crafted OpenWire Message with a large encoded size value for the map. OpenWire message property maps are unmarshaled without size validation which can trigger OOM and crash the broker. 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 Client: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Broker: 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 packages

EcosystemPackageAffected versions
Mavenorg.apache.activemq:apache-activemq
All versions before 5.19.8 (fixed in 5.19.8)
Mavenorg.apache.activemq:apache-activemq
From 6.0.0 before 6.2.7 (fixed in 6.2.7)
Mavenorg.apache.activemq:activemq-all
All versions before 5.19.8 (fixed in 5.19.8)
Mavenorg.apache.activemq:activemq-all
From 6.0.0 before 6.2.7 (fixed in 6.2.7)
Mavenorg.apache.activemq:activemq-client
All versions before 5.19.8 (fixed in 5.19.8)
Mavenorg.apache.activemq:activemq-client
From 6.0.0 before 6.2.7 (fixed in 6.2.7)
Mavenorg.apache.activemq:activemq-broker
All versions before 5.19.8 (fixed in 5.19.8)
Mavenorg.apache.activemq:activemq-broker
From 6.0.0 before 6.2.7 (fixed in 6.2.7)

References