5.3medium
Directory traversal in Apache RocketMQ
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.99% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-5x3v-2gxr-59m2
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache RocketMQ | Apache RocketMQ 4.2.0 to 4.6.0, from 4.2.0 up to 4.6.0 | CVE List, NVD |
| org.apache.rocketmq:rocketmq-broker (Maven) | from 4.2.0 before 4.6.1 | GitHub Advisory Database |
All scores
| GitHub | medium rating | |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
En Apache RocketMQ versiones 4.2.0 hasta 4.6.0, cuando la creación automática de temas en el agente está activada por defecto, un tema maligno como "../../../../topic2020" es enviado desde rocketmq-client para el agente, una carpeta de temas será creada en el directorio principal en los agentes, lo que conduce a una vulnerabilidad de salto del directorio. Los usuarios de las versiones afectadas deben aplicar lo siguiente: Actualización a Apache RocketMQ versión 4.6.1 o posterior.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-17572 changed 2024-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5x3v-2gxr-59m2 changed 2024-12-02 | CC-BY-4.0 |
| NVD | CVE-2019-17572 changed 2026-06-17 | Public domain |