VDB
Sign up
CRITICAL9.8

GHSA-x3cq-8f32-5f63

Apache RocketMQ may have remote code execution vulnerability when using update configuration function

Quick fix

GHSA-x3cq-8f32-5f63 — org.apache.rocketmq:rocketmq-broker: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.1.1</version> for org.apache.rocketmq:rocketmq-broker

Details

For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution. 

Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content. 

To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.rocketmq:rocketmq-broker
Introduced in: 5.0.0Fixed in: 5.1.1
Fix# pom.xml: bump <version>5.1.1</version> for org.apache.rocketmq:rocketmq-broker
Maven/org.apache.rocketmq:rocketmq-namesrv
Introduced in: 4.0.0Fixed in: 4.9.6
Fix# pom.xml: bump <version>4.9.6</version> for org.apache.rocketmq:rocketmq-namesrv
Maven/org.apache.rocketmq:rocketmq-controller
Introduced in: 5.0.0Fixed in: 5.1.1
Fix# pom.xml: bump <version>5.1.1</version> for org.apache.rocketmq:rocketmq-controller
Maven/org.apache.rocketmq:rocketmq-namesrv
Introduced in: 5.0.0Fixed in: 5.1.1
Fix# pom.xml: bump <version>5.1.1</version> for org.apache.rocketmq:rocketmq-namesrv

References