{"id":"CVE-2019-17572","aliases":["CVE-2019-17572","GHSA-5x3v-2gxr-59m2"],"related":[],"kind":"vulnerability","state":"published","title":"Directory traversal in Apache RocketMQ","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2020-05-14T16:10:48.000Z","modified":"2026-06-17T02:24:12.187Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"Apache RocketMQ 4.2.0 to 4.6.0","status":"affected"}],"product":"Apache RocketMQ","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0","status":"affected","fixed":"4.6.1"}],"ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-broker","purl":"pkg:maven/org.apache.rocketmq/rocketmq-broker","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.2.0","lastAffected":"4.6.0"}],"vendor":"apache","product":"rocketmq","cpe":"cpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread.html/fdea1c5407da47a17d5522fa149a097cacded1916c1c1534d46edc6d%40%3Cprivate.rocketmq.apache.org%3E","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://seclists.org/oss-sec/2020/q2/112","tags":["mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17572","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/rocketmq/issues/1637","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/rocketmq/commit/f8f6fbe4aa7f5dee937e688322628c366b12a552","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEROCKETMQ-569108","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-17572","url":"https://www.cve.org/CVERecord?id=CVE-2019-17572","licence":"CVE Terms of Use","modified":"2024-08-05T01:40:15.813Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5x3v-2gxr-59m2","url":"https://github.com/advisories/GHSA-5x3v-2gxr-59m2","licence":"CC-BY-4.0","modified":"2024-12-02T05:32:40.753Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-17572","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17572","licence":"Public domain","modified":"2026-06-17T02:24:12.187Z"}],"updatedAt":"2026-11-25T22:57:49.867Z","epss":{"score":0.02985,"percentile":0.87664,"date":"2026-12-01T12:00:22.000Z"}}