CVEfocus › CVE database › CVE-2023-33246

CVE-2023-33246Apache RocketMQ: Possible remote code execution vulnerability when using the update…

Known exploited (CISA KEV)CVSS 9.8 CriticalEPSS 83.6% (in the top 1% of all CVEs)Published 2023-05-24Updated 2025-10-21Assigner: apache

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 .

CWE-94

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2023-09-06). If you run an affected version, patch or mitigate now.

Fixed builds are available from Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Maven libraryorg.apache.rocketmq:rocketmq-brokerFixed5.1.1GHSA-x3cq-8f32-5f63
Maven libraryorg.apache.rocketmq:rocketmq-controllerFixed5.1.1GHSA-x3cq-8f32-5f63
Maven libraryorg.apache.rocketmq:rocketmq-namesrvFixed5.1.1GHSA-x3cq-8f32-5f63

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.