NetSight
medium5.3

CVE-2019-17572

Directory traversal in Apache RocketMQ

Impact

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 packages

EcosystemPackageAffectedFixed in
mavenorg.apache.rocketmq:rocketmq-broker>= 4.2.0, < 4.6.14.6.1

Affected products

VendorProductAffected versions
ApacheRocketmq
from 4.2.0 through 4.6.0

Weakness classification

References