{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-46604","id":"CVE-2023-46604","title":"Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack","description":"The Java OpenWire protocol marshaller is vulnerable to Remote Code \nExecution. This vulnerability may allow a remote attacker with network \naccess to either a Java-based OpenWire broker or client to run arbitrary\n shell commands by manipulating serialized class types in the OpenWire \nprotocol to cause either the client or the broker (respectively) to \ninstantiate any class on the classpath.\n\nUsers","descriptionLong":"The Java OpenWire protocol marshaller is vulnerable to Remote Code \nExecution. This vulnerability may allow a remote attacker with network \naccess to either a Java-based OpenWire broker or client to run arbitrary\n shell commands by manipulating serialized class types in the OpenWire \nprotocol to cause either the client or the broker (respectively) to \ninstantiate any class on the classpath.\n\nUsers are recommended to upgrade\n both brokers and clients to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3 \nwhich fixes this issue.","published":"2023-10-27T14:59:31.046Z","updated":"2026-10-28T02:30:25.743596498Z","reserved":"2023-10-24T08:55:31.050Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","rating":"critical","source":"apache"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","rating":"critical","source":"apache"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","rating":"critical","source":"apache.org"},{"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","rating":"critical","source":"NVD"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H/E:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Apache Software Foundation Apache ActiveMQ","Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache ActiveMQ","defaultStatus":"unaffected","versions":[{"lessThan":"5.18.3","status":"affected","version":"5.18.0","versionType":"semver"},{"lessThan":"5.17.6","status":"affected","version":"5.17.0","versionType":"semver"},{"lessThan":"5.16.7","status":"affected","version":"5.16.0","versionType":"semver"},{"lessThan":"5.15.16","status":"affected","version":"0","versionType":"semver"}],"platforms":[]},{"vendor":"Apache Software Foundation","product":"Apache ActiveMQ Legacy OpenWire Module","defaultStatus":"unaffected","versions":[{"lessThan":"5.18.3","status":"affected","version":"5.18.0","versionType":"semver"},{"lessThan":"5.17.6","status":"affected","version":"5.17.0","versionType":"semver"},{"lessThan":"5.16.7","status":"affected","version":"5.16.0","versionType":"semver"},{"lessThan":"5.15.16","status":"affected","version":"5.8.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.activemq:activemq-client","purl":"pkg:maven/org.apache.activemq/activemq-client","ranges":["<5.15.16",">=5.16.0 <5.16.7",">=5.17.0 <5.17.6",">=5.18.0 <5.18.3"],"fixed":["5.15.16","5.16.7","5.17.6","5.18.3"],"advisory":"GHSA-crg9-44h2-xw35"},{"ecosystem":"Maven","name":"org.apache.activemq:activemq-openwire-legacy","purl":"pkg:maven/org.apache.activemq/activemq-openwire-legacy","ranges":[">=5.8.0 <5.15.16",">=5.16.0 <5.16.7",">=5.17.0 <5.17.6",">=5.18.0 <5.18.3"],"fixed":["5.15.16","5.16.7","5.17.6","5.18.3"],"advisory":"GHSA-crg9-44h2-xw35"}],"cwes":["CWE-502"],"aliases":["BIT-activemq-2023-46604","GHSA-crg9-44h2-xw35"],"references":[{"url":"https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt","tags":["vendor-advisory","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://www.openwall.com/lists/oss-security/2023/10/27/5","tags":["x_transferred","Mailing List","web"]},{"url":"https://security.netapp.com/advisory/ntap-20231110-0010/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html","tags":["x_transferred","Mailing List","web"]},{"url":"http://seclists.org/fulldisclosure/2024/Apr/18","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00027.html","tags":["Mailing List","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604","tags":["government-resource","Third Party Advisory","US Government Resource","web"]},{"url":"https://repo.maven.apache.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46604.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46604","tags":["advisory"]},{"url":"https://github.com/apache/activemq/pull/1098","tags":["web"]},{"url":"https://github.com/apache/activemq/commit/22442b2385b1000312aec3d19e510131d595a5fc","tags":["web"]},{"url":"https://github.com/apache/activemq/commit/80089f9f476afab7d976f5fc37c5ab4aa0c2139d","tags":["web"]},{"url":"https://github.com/apache/activemq/commit/958330df26cf3d5cdb63905dc2c6882e98781d8f","tags":["web"]},{"url":"https://github.com/apache/activemq/commit/9905e2a5bf9862a049f94ce0a2465b0c7ad52436","tags":["web"]},{"url":"https://github.com/apache/activemq/commit/d0ccdd31544ada83185554c87c7aa141064020f0","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20231110-0010","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/AMQ-9370","tags":["web"]},{"url":"https://github.com/apache/activemq","tags":["package"]},{"url":"https://activemq.apache.org/security-advisories.data/CVE-2023-46604","tags":["web"]},{"url":"http://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/27/5","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2023-11-02","kevDue":"2023-11-23","kevEntry":{"cveID":"CVE-2023-46604","vendorProject":"Apache","product":"ActiveMQ","vulnerabilityName":"Apache ActiveMQ Deserialization of Untrusted Data Vulnerability","dateAdded":"2023-11-02","shortDescription":"Apache ActiveMQ contains a deserialization of untrusted data vulnerability that may allow a remote attacker with network access to a broker to run shell commands by manipulating serialized class types in the OpenWire protocol to cause the broker to instantiate any class on the classpath.","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","dueDate":"2023-11-23","knownRansomwareCampaignUse":"Known","notes":"https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt; https://nvd.nist.gov/vuln/detail/CVE-2023-46604","cwes":["CWE-502"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.99992,"epssPercentile":0.99986,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-46604","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46604","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-46604","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-crg9-44h2-xw35","ok":true,"note":"GHSA-crg9-44h2-xw35"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2023-11-02"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-46604","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 100% with CVSS 10.0"],"attention":null}