CVE-2023-46604: Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
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.
Other sources
Apache ActiveMQ is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker with network access to a broker to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause the broker to instantiate any class on the classpath.
Users are recommended to upgrade to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3, which fixes this issue.
— Red Hat
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.18.3 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.17.6 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.16.7 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.15.16 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 5.18.3 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 5.17.6 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 5.16.7 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 5.15.16 - Upgrade
Upgrade
debian/activemqto a version that resolves this vulnerability.Fixed in 5.16.1-1+deb11u1Fixed in 5.17.2+dfsg-2+deb12u1Fixed in 5.17.6+dfsg-1 - Upgrade
Upgrade
redhat/activemqto a version that resolves this vulnerability.Fixed in 5.18.3 - Upgrade
Upgrade
redhat/activemqto a version that resolves this vulnerability.Fixed in 5.17.6 - Upgrade
Upgrade
redhat/activemqto a version that resolves this vulnerability.Fixed in 5.15.16 - Upgrade
Upgrade
redhat/activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.18.3 - Upgrade
Upgrade
redhat/activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.17.6 - Upgrade
Upgrade
redhat/activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.16.7 - Upgrade
Upgrade
redhat/activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.15.16 - Upgrade
Upgrade
Apache ActiveMQ (OpenWire Java-based broker and client)to a version that resolves this vulnerability.Fixed in 5.15.16 - Upgrade
Upgrade
Apache ActiveMQ (OpenWire Java-based broker and client)to a version that resolves this vulnerability.Fixed in 5.16.7 - Upgrade
Upgrade
Apache ActiveMQ (OpenWire Java-based broker and client)to a version that resolves this vulnerability.Fixed in 5.17.6 - Upgrade
Upgrade
Apache ActiveMQ (OpenWire Java-based broker and client)to a version that resolves this vulnerability.Fixed in 5.18.3 - Compensating control
If mitigations are unavailable, discontinue use of the affected Apache ActiveMQ product as stated (CVE-2023-46604).
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is CVE-2023-46604?
CVE-2023-46604 is a vulnerability in Apache ActiveMQ that allows remote code execution.
How severe is CVE-2023-46604?
CVE-2023-46604 has a severity rating of 10, which is considered critical.
Which software versions are affected by CVE-2023-46604?
The affected software versions are: 5.18.0 to 5.18.3, 5.17.0 to 5.17.6, 5.16.0 to 5.16.7, and 5.8.0 to 5.15.16.
How can I fix CVE-2023-46604?
To fix CVE-2023-46604, upgrade Apache ActiveMQ to version 5.18.3, 5.17.6, 5.16.7, or 5.15.16.
Where can I find more information about CVE-2023-46604?
More information about CVE-2023-46604 can be found in the references provided: https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt, http://www.openwall.com/lists/oss-security/2023/10/27/5, and https://nvd.nist.gov/vuln/detail/CVE-2023-46604.