Arbitrary Code Injection Affecting org.apache.rocketmq:rocketmq-namesrv package, versions [4.0.0,4.9.6)[5.0.0,5.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
90.43% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEROCKETMQ-5772217
  • published12 Jul 2023
  • disclosed12 Jul 2023
  • credityuansec@outlook.com, soreatu@gmail.com

Introduced: 12 Jul 2023

CVE-2023-37582  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.apache.rocketmq:rocketmq-namesrv to version 4.9.6, 5.1.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the NameServer component due to incomplete fix for CVE-2023-33246. When NameServer addresses 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.

CVSS Base Scores

version 3.1