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.
In short
CVE-2023-46604 (Apache ActiveMQ Deserialization of Untrusted Data) has a CVSS 3.1 base score of 10.0, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 2 Nov 2023, and it has been used in ransomware campaigns. Fixed in Apache Activemq 5.16.7, Apache Activemq Legacy Openwire Module 5.16.7 or later. The Dutch NCSC covers it in advisory NCSC-2025-0061.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:HAffected products
- Apache Activemq≥ 5.16.0 < 5.16.7 · ≥ 5.17.0 < 5.17.6 · ≥ 5.18.0 < 5.18.3 · < 5.15.16
- Apache Activemq Legacy Openwire Module≥ 5.16.0 < 5.16.7 · ≥ 5.17.0 < 5.17.6 · ≥ 5.18.0 < 5.18.3 · < 5.15.16
- Netapp E-series Santricity Unified Managerall versions
- Netapp E-series Santricity Web Services Proxyall versions
- Netapp Santricity Storage Pluginall versions
- Debian Linux10.0 · 11.0
Remediation
Fixed in- Apache Activemq≥ 5.16.7
- Apache Activemq Legacy Openwire Module≥ 5.16.7
References
- https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt
- http://seclists.org/fulldisclosure/2024/Apr/18
- https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- https://lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- https://security.netapp.com/advisory/ntap-20231110-0010/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604
- https://www.openwall.com/lists/oss-security/2023/10/27/5
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
