CVE-2023-37582
CRITICAL 9.8CVSS 3.1RocketMQ NameServer component Code Injection vulnerability
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.
- Published
- 12 Jul 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-gpq8-963w-8qc9
- Sources
- NVDJSONOSV GHSA-gpq8-963w-8qc9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | rocketmqcpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* |
<= 4.9.6 | |
| NVD | apache | rocketmqcpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* |
>= 5.0.0, <= 5.1.1 | |
| OSV | Maven | org.apache.rocketmq:rocketmq-namesrv | < 4.9.7 | 4.9.7 |
| OSV | Maven | org.apache.rocketmq:rocketmq-namesrv | >= 5.0.0, < 5.1.2 | 5.1.2 |
References
- http://www.openwall.com/lists/oss-security/2023/07/12/1 · Mailing List, Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread/m614czxtpvlztd7mfgcs2xcsg36rdbnc · Mailing List, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-37582 · ADVISORY
- https://github.com/apache/rocketmq · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 12 Jul 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jul 2023)