# CVE-2023-46604

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.

- Page: https://www.vulneraibility.com/cve/CVE-2023-46604
- CVSS: 10.0
- Known exploited: yes, in CISA KEV since 2023-11-02; CISA due date 2023-11-23; known ransomware use
- EPSS: 99.99% (percentile 100.0)
- Public exploit code: 1 Metasploit module · 43 GitHub proofs of concept · 1 Nuclei template (first 2023-10-26)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-02-04)
- Weakness: CWE-502
- Also known as: GHSA-crg9-44h2-xw35
- Published: 2023-10-27

## Affected versions

- activemq: affected < 5.15.16; >= 5.16.0 and < 5.16.7; >= 5.17.0 and < 5.17.6; >= 5.18.0 and < 5.18.3; fixed in 5.15.16, 5.16.7, 5.17.6, 5.18.3 (Bitnami advisory, via OSV)
- Apache Software Foundation Apache ActiveMQ: affected >= 5.18.0 and < 5.18.3; >= 5.17.0 and < 5.17.6; >= 5.16.0 and < 5.16.7; < 5.15.16
- Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module: affected >= 5.18.0 and < 5.18.3; >= 5.17.0 and < 5.17.6; >= 5.16.0 and < 5.16.7; >= 5.8.0 and < 5.15.16

A version outside these ranges is not a statement that it is unaffected.

## References

- [advisory] https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt
- [other] https://www.openwall.com/lists/oss-security/2023/10/27/5
- [other] https://security.netapp.com/advisory/ntap-20231110-0010/
- [other] https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- [other] https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- [other] http://seclists.org/fulldisclosure/2024/Apr/18
- [other] https://lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
