Vulnerabilities in pkg:maven/org.apache.rocketmq/rocketmq-all
PACKAGECVE-2024-23321 is a MODERATE (CVSS 5.3) apache rocketmq vulnerable to unauthorized vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Rocketmq all libraries in the Maven ecosystem. The issue involves apache rocketmq vulnerable to unauthorized exposure of sensitive data. Remediation is available by upgrading affected packages to version 5.3.0.
pkg:maven/org.apache.rocketmq/rocketmq-all
Vulnerability advisories affecting package pkg:maven/org.apache.rocketmq/rocketmq-all. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-q9w2-h4cw-8ghp | CVE-2024-23321 | MODERATE | Apache RocketMQ Vulnerable to Unauthorized Exposure of Sensitive Data |
CVE-2024-23321 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-23321
To remediate this vulnerability, upgrade all affected Rocketmq all dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-all</artifactId>
<version>5.3.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.rocketmq
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-23321, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.rocketmq
Analyze the terminal output to locate any version of Rocketmq all in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.rocketmq command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Rocketmq all, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-23321 Affected Rocketmq all Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.rocketmq:rocketmq-all
|
Maven |
≥ 4.5.2
< 5.3.0
|
5.3.0
|
References
Frequently Asked Questions
What is CVE-2024-23321?
Which Rocketmq all versions are affected?
What version fixes CVE-2024-23321?
Is rocketmq-all affected?
What is the CVSS score of CVE-2024-23321?
What CWE is associated with CVE-2024-23321?
How can I check Maven dependencies for CVE-2024-23321?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q9w2-h4cw-8ghp",
"modified" : "2024-09-10T18:19:04Z",
"published" : "2024-07-22T12:30:35Z",
"aliases" : [ "CVE-2024-23321" ],
"summary" : "Apache RocketMQ Vulnerable to Unauthorized Exposure of Sensitive Data",
"details" : "For RocketMQ versions 5.2.0 and below, under certain conditions, there is a risk of exposure of sensitive Information to an unauthorized actor even if RocketMQ is enabled with authentication and authorization functions.\n\nAn attacker, possessing regular user privileges or listed in the IP whitelist, could potentially acquire the administrator's account and password through specific interfaces. Such an action would grant them full control over RocketMQ, provided they have access to the broker IP address list.\n\nTo mitigate these security threats, it is strongly advised that users upgrade to version 5.3.0 or newer. Additionally, we recommend users to use RocketMQ ACL 2.0 instead of the original RocketMQ ACL when upgrading to version Apache RocketMQ 5.3.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.rocketmq:rocketmq-all"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.5.2"
}, {
"fixed" : "5.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23321"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/rocketmq"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/rocketmq/releases/tag/rocketmq-all-5.3.0"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/lr8npobww786nrnddd1pcy974r17c830"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/07/22/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-22T21:57:52Z",
"nvd_published_at" : "2024-07-22T10:15:02Z"
}
}