Loading...
Skip to main content

CVE-2023-37582 — Vulnerability in...

CRITICAL

RocketMQ NameServer component Code Injection vulnerability

Published July 12, 2023Updated February 13, 2025Source: osv

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 (1188 days ago).
  • Last revised February 13, 2025 — 582 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.rocketmq:rocketmq-namesrv to 5.1.2 or later
<!-- Update pom.xml dependency version to 5.1.2 for org.apache.rocketmq:rocketmq-namesrv -->
Maven
Update org.apache.rocketmq:rocketmq-namesrv to 4.9.7 or later
<!-- Update pom.xml dependency version to 4.9.7 for org.apache.rocketmq:rocketmq-namesrv -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.rocketmq:rocketmq-namesrv
maven
5.0.0, 5.0.0-PREVIEW, 5.1.0, 5.1.15.1.2
org.apache.rocketmq:rocketmq-namesrv
maven
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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-37582 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-gpq8-963w-8qc9

Related CVEs

  • CVE-2026-107726
    CRITICAL

    Hazelcast allows arbitrary member memory access by low-privileged client

  • CVE-2026-107282
    CRITICAL

    AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host

  • CVE-2023-33246
    CRITICAL

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

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies