CVE-2023-37582 — Vulnerability in rocketmq-namesrv — CVE Details
RocketMQ NameServer component Code Injection vulnerability
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 24.75% in 30 days. Address in your next planned sprint.
Does your project use an affected org.apache.rocketmq:rocketmq-namesrv version?
Paste your pom.xml to check it for CVE-2023-37582 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1.
When NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as.
It is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.
Advisory Timeline
- First published July 12, 2023 (1233 days ago).
- Last revised February 13, 2025 — 582 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 5.1.2 for org.apache.rocketmq:rocketmq-namesrv -->
<!-- Update pom.xml dependency version to 4.9.7 for org.apache.rocketmq:rocketmq-namesrv -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.rocketmq:rocketmq-namesrv Maven · Affected: 5.0.0, 5.0.0-PREVIEW, 5.1.0, 5.1.1 | 5.1.2 |
| org.apache.rocketmq:rocketmq-namesrv Maven · Affected: 4.0.0-incubating, 4.1.0-incubating, 4.2.0, 4.3.0 (+18 more) | 4.9.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2023-37582?
- RocketMQ NameServer component Code Injection vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-37582?
- CVE-2023-37582 affects org.apache.rocketmq:rocketmq-namesrv. It has a 24.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-37582 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 98.4% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2023-33246CRITICAL
Apache RocketMQ may have remote code execution vulnerability when using update configuration function