{"id":"CVE-2023-37582","aliases":["EUVD-2023-2067","GHSA-gpq8-963w-8qc9"],"status":"published","title":"Apache RocketMQ: Possible remote code execution when using the update configuration function","description":"The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. \n\nWhen NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. \n\nIt is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.90427,"percentile":0.99802,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-94"],"published":"2023-07-12T09:26:18Z","modified":"2026-10-28T02:31:00Z","exploits":[{"source":"nuclei","id":"CVE-2023-37582","title":"Apache RocketMQ - Remote Command Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2023/CVE-2023-37582.yaml"},{"source":"pocgithub","id":"Malayke/CVE-2023-37582_EXPLOIT","title":"Malayke/CVE-2023-37582_EXPLOIT","date":"2023-07-14","url":"https://github.com/Malayke/CVE-2023-37582_EXPLOIT"},{"source":"pocgithub","id":"laishouchao/Apache-RocketMQ-RCE-CVE-2023-37582-poc","title":"laishouchao/Apache-RocketMQ-RCE-CVE-2023-37582-poc","date":"2025-05-12","url":"https://github.com/laishouchao/Apache-RocketMQ-RCE-CVE-2023-37582-poc"},{"source":"pocgithub","id":"shoucheng3/apache__rocketmq_CVE-2023-37582_4-9-6","title":"shoucheng3/apache__rocketmq_CVE-2023-37582_4-9-6","date":"2025-08-16","url":"https://github.com/shoucheng3/apache__rocketmq_CVE-2023-37582_4-9-6"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","fixed_in":["4.9.7","5.1.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.7"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.7"}]}],"versions":["4.0.0-incubating","4.1.0-incubating","4.2.0","4.3.0","4.3.1","4.3.2","4.4.0","4.5.0","4.5.1","4.5.2","4.6.0","4.6.1","4.7.0","4.7.1","4.8.0","4.9.0","4.9.1","4.9.2","4.9.3","4.9.4","4.9.5","4.9.6"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.2"}]}],"versions":["5.0.0","5.0.0-PREVIEW","5.1.0","5.1.1"]}],"products":[{"vendor":"apache","product":"rocketmq"},{"vendor":"apache software foundation","product":"apache rocketmq"}],"references":[{"url":"https://lists.apache.org/thread/m614czxtpvlztd7mfgcs2xcsg36rdbnc","tags":["vendor-advisory","x_transferred","Mailing List","Patch","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/12/1","tags":["x_transferred","Mailing List","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37582","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gpq8-963w-8qc9"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/37xxx/CVE-2023-37582.json","tags":["advisory"]},{"url":"https://github.com/apache/rocketmq","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-37582","title":"Apache RocketMQ: Possible remote code execution when using the update configuration function","description":"The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. \n\nWhen NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. \n\nIt is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.","status":"published","published":"2023-07-12T09:26:18.652Z","modified":"2025-04-23T16:20:32.805Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:35:16.126506Z"}],"euvd":[{"id":"EUVD-2023-2067","description":"The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. \n\nWhen NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. \n\nIt is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.","status":"published","published":"2023-07-12T09:26:18Z","modified":"2025-04-23T16:20:32Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:12.74685Z"}],"ghsa":[{"id":"GHSA-gpq8-963w-8qc9","title":"RocketMQ NameServer component Code Injection vulnerability","description":"The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. \n\nWhen NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. \n\nIt is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.","status":"published","published":"2023-07-12T12:31:36Z","modified":"2025-02-13T19:00:55Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:38:31.416868Z"}],"nvd":[{"id":"CVE-2023-37582","description":"The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. \n\nWhen NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. \n\nIt is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.","status":"published","published":"2023-07-12T10:15:11.197Z","modified":"2026-06-17T06:08:30.507Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:08:15.91037Z"}],"osv":[{"id":"CVE-2023-37582","title":"Apache RocketMQ: Possible remote code execution when using the update configuration function","description":"The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. \n\nWhen NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. \n\nIt is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.","status":"published","published":"2023-07-12T09:26:18.652Z","modified":"2026-10-28T02:31:00.371648249Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:44:32.510144Z"},{"id":"GHSA-gpq8-963w-8qc9","title":"RocketMQ NameServer component Code Injection vulnerability","description":"The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 5.1.1. \n\nWhen NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function on the NameServer component to execute commands as the system users that RocketMQ is running as. \n\nIt is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above for RocketMQ 4.x to prevent these attacks.","status":"published","published":"2023-07-12T12:31:36Z","modified":"2025-02-13T19:11:34.233995Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:48.191583Z"}]}}
