Loading HuntDB...

GHSA-gj5m-m88j-v7c3

GitHub Security Advisory

Apache ActiveMQ's default configuration doesn't secure the API web context

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

In Apache ActiveMQ 6.x, the default configuration doesn't secure the API web context (where the Jolokia JMX REST API and the Message REST API are located). It means that anyone can use these layers without any required authentication. Potentially, anyone can interact with the broker (using Jolokia JMX REST API) and/or produce/consume messages or purge/delete destinations (using the Message REST API).

To mitigate, users can update the default conf/jetty.xml configuration file to add authentication requirement:
<bean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">
  <property name="constraint" ref="securityConstraint" />
  <property name="pathSpec" value="/" />
</bean>

Or we encourage users to upgrade to Apache ActiveMQ 6.1.2 where the default configuration has been updated with authentication by default.

Affected Packages

Maven org.apache.activemq:apache-activemq
Affected versions: 6.0.0 (fixed in 6.1.2)

Related CVEs

Key Information

GHSA ID
GHSA-gj5m-m88j-v7c3
Published
May 2, 2024 9:30 AM
Last Modified
February 11, 2025 7:03 PM
CVSS Score
7.5 /10
Primary Ecosystem
Maven
Primary Package
org.apache.activemq:apache-activemq
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 27, 2025 6:35 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.