{"api_version":"1","generated_at":"2026-07-24T23:43:26+00:00","cve":"CVE-2023-33246","urls":{"html":"https://cve.report/CVE-2023-33246","api":"https://cve.report/api/cve/CVE-2023-33246.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-33246","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-33246"},"summary":{"title":"Apache RocketMQ Command Execution Vulnerability","description":"For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution. \n\nSeveral components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content. \n\nTo prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .","state":"PUBLIC","assigner":"security@apache.org","published_at":"2023-05-24 15:15:00","updated_at":"2023-07-12 12:15:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp","name":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2023/07/12/1","name":"http://www.openwall.com/lists/oss-security/2023/07/12/1","refsource":"MISC","tags":[],"title":"oss-security - CVE-2023-37582: Apache RocketMQ: Possible remote code execution\n when using the update configuration function","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html","name":"http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html","refsource":"MISC","tags":[],"title":"Apache RocketMQ 5.1.0 Arbitrary Code Injection ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-33246","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33246","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"33246","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"rocketmq","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":{"cve_year":"2023","cve_id":"33246","cve":"CVE-2023-33246","vendorProject":"Apache","product":"RocketMQ","vulnerabilityName":"Apache RocketMQ Command Execution Vulnerability","dateAdded":"2023-09-06","shortDescription":"Several components of Apache RocketMQ, including NameServer, Broker, and Controller, are exposed to the extranet and lack permission verification. An attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as or achieve the same effect by forging the RocketMQ protocol content.","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","dueDate":"2023-09-27","knownRansomwareCampaignUse":"Unknown","notes":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp;  https://nvd.nist.gov/vuln/detail/CVE-2023-33246","cwes":"CWE-94","catalogVersion":"2026.07.24","updated_at":"2026-07-24 18:00:38"},"epss":{"cve_year":"2023","cve_id":"33246","cve":"CVE-2023-33246","epss":"0.966040000","percentile":"0.998770000","score_date":"2026-07-23","updated_at":"2026-07-24 00:10:12"},"legacy_qids":[{"cve":"CVE-2023-33246","qid":"730868","title":"Apache RocketMQ Remote Code Execution (RCE) Vulnerability"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-33246","ASSIGNER":"security@apache.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution. \n\nSeveral components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content. \n\nTo prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .\n\n\n\n\n\n\n\n\n\n\n\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94 Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Apache Software Foundation","product":{"product_data":[{"product_name":"Apache RocketMQ","version":{"version_data":[{"version_affected":"<=","version_name":"0","version_value":"5.1.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp","refsource":"MISC","name":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp"},{"url":"http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html","refsource":"MISC","name":"http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html"},{"url":"http://www.openwall.com/lists/oss-security/2023/07/12/1","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2023/07/12/1"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"EXTERNAL"},"credits":[{"lang":"en","value":"lvyyevd@gmail.com"}]},"nvd":{"publishedDate":"2023-05-24 15:15:00","lastModifiedDate":"2023-07-12 12:15:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:*","versionEndExcluding":"5.1.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}