CVE-2023-46604Apache ActiveMQ
Remote Code Execution in Apache ActiveMQ OpenWire
Critical 9.8 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · Apache · Apache ActiveMQ We alert you by email or Slack (account required).
- Priority
- 98
- CVSS 3.1
- 9.8
- EPSS
- 89.3% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 2, 2023
- CISA deadline
- Nov 23, 2023
- Ransomware use
- Confirmed
- Published
- Oct 27, 2023
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache ActiveMQ's OpenWire protocol is vulnerable to unauthenticated remote code execution. A remote attacker with network access can manipulate serialized class types to instantiate arbitrary classes on the classpath and execute shell commands. CISA has confirmed this vulnerability is actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
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.
Action required by CISA: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do
Patch available · fixed versions: 5.15.16, 5.16.7, 5.17.6, 5.18.3
Upgrade ActiveMQ to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3 depending on your current version branch.
- Apply the vendor's security update for ActiveMQ.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was November 23, 2023.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.activemq:activemq-client |
< 5.15.16 |
5.15.16 |
— |
| Maven | org.apache.activemq:activemq-client |
≥ 5.16.0 < 5.16.7 |
5.16.7 |
— |
| Maven | org.apache.activemq:activemq-client |
≥ 5.17.0 < 5.17.6 |
5.17.6 |
— |
| Maven | org.apache.activemq:activemq-client |
≥ 5.18.0 < 5.18.3 |
5.18.3 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
≥ 5.8.0 < 5.15.16 |
5.15.16 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
≥ 5.16.0 < 5.16.7 |
5.16.7 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
≥ 5.17.0 < 5.17.6 |
5.17.6 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
≥ 5.18.0 < 5.18.3 |
5.18.3 |
— |
Per OSV / GitHub Advisories (GHSA-crg9-44h2-xw35). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | activemq | < 5.15.16 |
| apache | activemq | ≥ 5.16.0 < 5.16.7 |
| apache | activemq | ≥ 5.17.0 < 5.17.6 |
| apache | activemq | ≥ 5.18.0 < 5.18.3 |
| apache | activemq_legacy_openwire_module | < 5.15.16 |
| apache | activemq_legacy_openwire_module | ≥ 5.16.0 < 5.16.7 |
| apache | activemq_legacy_openwire_module | ≥ 5.17.0 < 5.17.6 |
| apache | activemq_legacy_openwire_module | ≥ 5.18.0 < 5.18.3 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| netapp | e-series_santricity_unified_manager | all |
| netapp | e-series_santricity_web_services_proxy | all |
| netapp | santricity_storage_plugin | all |
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Mailing List Third Party Advisory
- activemq.apache.org Vendor Advisory
- lists.debian.org Mailing List
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- security.netapp.com Third Party Advisory
- www.openwall.com Mailing List
- lists.debian.org Mailing List
- www.cisa.gov Third Party Advisory US Government Resource