CVE-2023-46604
CRITICAL10.0⚠ KEVEPSS 94.4%Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
Published: 10/27/2023Modified: 4/28/2026Added to CISA KEV: 11/2/2023
Description
The Java OpenWire protocol marshaller is vulnerable to Remote Code Execution. This vulnerability may allow a remote attacker with network access to either a Java-based OpenWire broker or client to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause either the client or the broker (respectively) to instantiate any class on the classpath. Users are recommended to upgrade both brokers and clients to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3 which fixes this issue.
Affected packages (4)
- Bitnami/activemqfrom 0, < 5.15.16, >= 5.16.0, < 5.16.7, >= 5.17.0, < 5.17.6, >= 5.18.0, < 5.18.3
- Debian/activemqfrom 0, < 5.16.1-1+deb11u1
- Maven/org.apache.activemq:activemq-clientfrom 0, < 5.15.16
- Maven/org.apache.activemq:activemq-openwire-legacy>= 5.8.0, < 5.15.16
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H/E:H |
References (22)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-46604
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-46604
- PATCHhttps://github.com/apache/activemq
- WEBhttp://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- WEBhttps://activemq.apache.org/security-advisories.data/CVE-2023-46604
- WEBhttps://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt
- WEBhttp://seclists.org/fulldisclosure/2024/Apr/18
- WEBhttps://github.com/apache/activemq/commit/22442b2385b1000312aec3d19e510131d595a5fc
- WEBhttps://github.com/apache/activemq/commit/80089f9f476afab7d976f5fc37c5ab4aa0c2139d
- WEBhttps://github.com/apache/activemq/commit/958330df26cf3d5cdb63905dc2c6882e98781d8f
- WEBhttps://github.com/apache/activemq/commit/9905e2a5bf9862a049f94ce0a2465b0c7ad52436
- WEBhttps://github.com/apache/activemq/commit/d0ccdd31544ada83185554c87c7aa141064020f0
- WEBhttps://github.com/apache/activemq/pull/1098
- WEBhttps://issues.apache.org/jira/browse/AMQ-9370
- WEBhttps://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- WEBhttps://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- WEBhttps://security.netapp.com/advisory/ntap-20231110-0010
- WEBhttps://security.netapp.com/advisory/ntap-20231110-0010/
- WEBhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604
- WEBhttps://www.openwall.com/lists/oss-security/2023/10/27/5
- WEBhttp://www.openwall.com/lists/oss-security/2023/10/27/5