CVE-2023-46604
activemq-openwire: OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat, Bitnami. Rated lower by Ubuntu (high).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | activemq | 5.15.16, 5.16.7, 5.17.6, 5.18.3 |
| maven::GitHub Security Advisory Maven | org.apache.activemq:activemq-client, org.apache.activemq:activemq-openwire-legacy | 5.15.16, 5.16.7, 5.17.6, 5.18.3 |
| debian 10 | activemq | 5.15.16-0+deb10u1 |
| debian 11 | activemq | 5.16.1-1+deb11u1 |
| debian 12 | activemq | 5.17.2+dfsg-2+deb12u1 |
| debian 13 | activemq | 5.17.6+dfsg-1 |
| echo | activemq | 5.17.2+dfsg-2+deb12u1 |
| rapidfort ubuntu 20.04 | activemq | 0:5.16.1-1ubuntu0.1 |
| rapidfort ubuntu 22.04 | activemq | 0:5.16.1-1ubuntu0.1 |
| rapidfort ubuntu 24.04 | activemq | 0:5.16.1-1ubuntu0.1 |
| root.io debian 11 | rootio-activemq | 5.16.1-1+deb11u1 |
| root.io debian 12 | rootio-activemq | 5.17.2+dfsg-2+deb12u1 |
Show all 18 entries from 17 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | activemq | 5.15.16, 5.16.7, 5.17.6, 5.18.3 |
| maven::GitHub Security Advisory Maven | org.apache.activemq:activemq-client | 5.15.16, 5.16.7, 5.17.6, 5.18.3 |
| maven::GitHub Security Advisory Maven | org.apache.activemq:activemq-openwire-legacy | 5.15.16, 5.16.7, 5.17.6, 5.18.3 |
| debian 10 | activemq | 5.15.16-0+deb10u1 |
| debian 11 | activemq | 5.16.1-1+deb11u1 |
| debian 12 | activemq | 5.17.2+dfsg-2+deb12u1 |
| debian 13 | activemq | 5.17.6+dfsg-1 |
| echo | activemq | 5.17.2+dfsg-2+deb12u1 |
| rapidfort ubuntu 20.04 | activemq | 0:5.16.1-1ubuntu0.1 |
| rapidfort ubuntu 22.04 | activemq | 0:5.16.1-1ubuntu0.1 |
| rapidfort ubuntu 24.04 | activemq | 0:5.16.1-1ubuntu0.1 |
| root.io debian 11 | rootio-activemq | 5.16.1-1+deb11u1 |
| root.io debian 12 | rootio-activemq | 5.17.2+dfsg-2+deb12u1 |
| root.io debian 13 | rootio-activemq | 5.17.6+dfsg-1 |
| ubuntu 16.04-ESM | activemq | 5.13.2+dfsg-2ubuntu0.1~esm1 |
| ubuntu 18.04-ESM | activemq | 5.15.8-2~18.04.1~esm1 |
| ubuntu 20.04-ESM | activemq | 5.15.11-1ubuntu0.1~esm1 |
| ubuntu 22.04 | activemq | 5.16.1-1ubuntu0.1 |
References
- http://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2024/Apr/18
- http://www.openwall.com/lists/oss-security/2023/10/27/5
- https://access.redhat.com/security/cve/CVE-2023-46604
- https://activemq.apache.org/security-advisories.data/CVE-2023-46604
- https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt
- https://github.com/apache/activemq
- https://github.com/apache/activemq/commit/22442b2385b1000312aec3d19e510131d595a5fc
All 27 references
- https://github.com/apache/activemq/commit/80089f9f476afab7d976f5fc37c5ab4aa0c2139d
- https://github.com/apache/activemq/commit/958330df26cf3d5cdb63905dc2c6882e98781d8f
- https://github.com/apache/activemq/commit/9905e2a5bf9862a049f94ce0a2465b0c7ad52436
- https://github.com/apache/activemq/commit/d0ccdd31544ada83185554c87c7aa141064020f0
- https://github.com/apache/activemq/pull/1098
- https://issues.apache.org/jira/browse/AMQ-9370
- https://lists.apache.org/thread/y1ztwb3gktny47mj9sdv2sbw49nkgsgp
- https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- https://lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-46604
- https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- https://security.netapp.com/advisory/ntap-20231110-0010
- https://security.netapp.com/advisory/ntap-20231110-0010/
- https://ubuntu.com/security/notices/USN-6910-1
- https://ubuntu.com/security/notices/USN-7268-1
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604
- https://www.cve.org/CVERecord?id=CVE-2023-46604
- https://www.openwall.com/lists/oss-security/2023/10/27/5