CVE-2023-46604: Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack

Published Oct 27, 2023
·
Updated

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

37 affected componentsFixes available
maven/org.apache.activemq:activemq-openwire-legacy>=5.18.0<5.18.3
5.18.3
maven/org.apache.activemq:activemq-openwire-legacy>=5.17.0<5.17.6
5.17.6
maven/org.apache.activemq:activemq-openwire-legacy>=5.16.0<5.16.7
5.16.7
maven/org.apache.activemq:activemq-openwire-legacy>=5.8.0<5.15.16
5.15.16
maven/org.apache.activemq:activemq-client>=5.18.0<5.18.3
5.18.3
maven/org.apache.activemq:activemq-client>=5.17.0<5.17.6
5.17.6
maven/org.apache.activemq:activemq-client>=5.16.0<5.16.7
5.16.7
maven/org.apache.activemq:activemq-client<5.15.16
5.15.16
redhat/activemq<5.18.3
5.18.3
redhat/activemq<5.17.6
5.17.6
redhat/activemq<5.15.16
5.15.16
redhat/activemq-openwire-legacy<5.18.3
5.18.3
redhat/activemq-openwire-legacy<5.17.6
5.17.6
redhat/activemq-openwire-legacy<5.16.7
5.16.7
redhat/activemq-openwire-legacy<5.15.16
5.15.16
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
NetApp E-series Santricity Web Services Proxy
NetApp Santricity Storage Plugin Vcenter
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13
Apache ActiveMQ
debian/activemq
5.15.16-0+deb10u15.16.1-1+deb11u15.17.2+dfsg-2+deb12u15.17.6+dfsg-1
ubuntu/activemq<5.13.2+dfsg-2ubuntu0.1~esm1
5.13.2+dfsg-2ubuntu0.1~esm1
ubuntu/activemq<5.15.8-2~18.04.1~esm1
5.15.8-2~18.04.1~esm1
ubuntu/activemq<5.15.11-1ubuntu0.1~esm1
5.15.11-1ubuntu0.1~esm1
ubuntu/activemq<5.16.1-1ubuntu0.1
5.16.1-1ubuntu0.1
ubuntu/activemq<5.16.1-1ubuntu0.1~esm1
5.16.1-1ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.activemq:activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.18.3
  2. Upgrade

    Upgrade maven/org.apache.activemq:activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.17.6
  3. Upgrade

    Upgrade maven/org.apache.activemq:activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.16.7
  4. Upgrade

    Upgrade maven/org.apache.activemq:activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.15.16
  5. Upgrade

    Upgrade maven/org.apache.activemq:activemq-client to a version that resolves this vulnerability.

    Fixed in 5.18.3
  6. Upgrade

    Upgrade maven/org.apache.activemq:activemq-client to a version that resolves this vulnerability.

    Fixed in 5.17.6
  7. Upgrade

    Upgrade maven/org.apache.activemq:activemq-client to a version that resolves this vulnerability.

    Fixed in 5.16.7
  8. Upgrade

    Upgrade maven/org.apache.activemq:activemq-client to a version that resolves this vulnerability.

    Fixed in 5.15.16
  9. Upgrade

    Upgrade redhat/activemq to a version that resolves this vulnerability.

    Fixed in 5.18.3
  10. Upgrade

    Upgrade redhat/activemq to a version that resolves this vulnerability.

    Fixed in 5.17.6
  11. Upgrade

    Upgrade redhat/activemq to a version that resolves this vulnerability.

    Fixed in 5.15.16
  12. Upgrade

    Upgrade redhat/activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.18.3
  13. Upgrade

    Upgrade redhat/activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.17.6
  14. Upgrade

    Upgrade redhat/activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.16.7
  15. Upgrade

    Upgrade redhat/activemq-openwire-legacy to a version that resolves this vulnerability.

    Fixed in 5.15.16
  16. Upgrade

    Upgrade debian/activemq to a version that resolves this vulnerability.

    Fixed in 5.15.16-0+deb10u1Fixed in 5.16.1-1+deb11u1Fixed in 5.17.2+dfsg-2+deb12u1Fixed in 5.17.6+dfsg-1
  17. Upgrade

    Upgrade ubuntu/activemq to a version that resolves this vulnerability.

    Fixed in 5.13.2+dfsg-2ubuntu0.1~esm1
  18. Upgrade

    Upgrade ubuntu/activemq to a version that resolves this vulnerability.

    Fixed in 5.15.8-2~18.04.1~esm1
  19. Upgrade

    Upgrade ubuntu/activemq to a version that resolves this vulnerability.

    Fixed in 5.15.11-1ubuntu0.1~esm1
  20. Upgrade

    Upgrade ubuntu/activemq to a version that resolves this vulnerability.

    Fixed in 5.16.1-1ubuntu0.1
  21. Upgrade

    Upgrade ubuntu/activemq to a version that resolves this vulnerability.

    Fixed in 5.16.1-1ubuntu0.1~esm1
  22. Upgrade

    Upgrade Apache ActiveMQ (OpenWire Java-based broker and client) to a version that resolves this vulnerability.

    Fixed in 5.15.16
  23. Upgrade

    Upgrade Apache ActiveMQ (OpenWire Java-based broker and client) to a version that resolves this vulnerability.

    Fixed in 5.16.7
  24. Upgrade

    Upgrade Apache ActiveMQ (OpenWire Java-based broker and client) to a version that resolves this vulnerability.

    Fixed in 5.17.6
  25. Upgrade

    Upgrade Apache ActiveMQ (OpenWire Java-based broker and client) to a version that resolves this vulnerability.

    Fixed in 5.18.3
  26. Compensating control

    If mitigations are unavailable, discontinue use of the affected Apache ActiveMQ product as stated (CVE-2023-46604).

Event History

Oct 26, 2023
Exploit Published
via GitHub·03:25 AM
Oct 27, 2023
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·02:59 PM
Data Sourced
02:59 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Advisory Published
03:30 PM
Oct 30, 2023
Advisory Published
08:08 PM
Nov 2, 2023
Kev Listed
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
Nov 8, 2023
Data Sourced
02:28 PM
Affected Software
Updated
02:28 PM
Severity
Nov 10, 2023
Updated
06:15 PM
Affected Software
Nov 11, 2023
Updated
08:38 AM
Description
Updated
09:15 AM
DescriptionAffected Software
Nov 14, 2023
Updated
03:15 AM
Affected Software
Updated
03:15 AM
DescriptionAffected Software
Nov 20, 2023
News Published
04:54 PM
Updated
10:15 PM
Affected Software
Nov 21, 2023
News Published
05:56 PM
Nov 28, 2023
Data Sourced
via MITRE·03:02 PM
DescriptionSeverityWeakness
Updated
03:15 PM
Affected Software
Nov 29, 2023
Data Sourced
via Red Hat·07:31 PM
DescriptionSeverityAffected Software
Feb 28, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Mar 14, 2024
Updated
via IBM·12:00 AM
Affected Software
Apr 11, 2024
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·08:15 AM
Affected Software
Jun 27, 2024
Updated
via NVD·06:30 PM
Affected Software
Nov 21, 2024
Updated
via NVD·08:28 AM
Affected Software
Dec 16, 2024
News Published
via The Hacker News·12:11 PM
Jan 22, 2025
News Published
via The Hacker News·07:25 AM
Jan 23, 2025
News Published
via The Register·01:06 AM
Updated
via NVD·04:16 PM
Affected Software
Feb 12, 2025
Data Sourced
via GitHub·03:30 PM
DescriptionSeverityWeaknessAffected Software
Feb 13, 2025
Updated
via NVD·06:15 PM
DescriptionAffected Software
Mar 6, 2025
Updated
via NVD·07:48 PM
Affected Software
Mar 7, 2025
Updated
via NVD·05:08 PM
Affected Software
May 28, 2025
News Published
via The Hacker News·11:00 AM
Jul 28, 2025
Updated
via MITRE·07:43 PM
Description
Aug 19, 2025
News Published
via ZDNet·01:30 PM
News Published
via ZDNet·01:30 PM
News Published
via The Hacker News·05:37 PM
News Published
via The Register·08:28 PM
Oct 21, 2025
Updated
via NVD·07:20 PM
Affected Software
Updated
via NVD·11:16 PM
Affected Software
Nov 3, 2025
News Published
via The Hacker News·12:56 PM
Nov 4, 2025
Updated
via NVD·04:41 PM
Affected Software
Apr 7, 2026
News Published
via The Hacker News·12:46 PM
Apr 8, 2026
News Published
via BleepingComputer·05:26 PM
Apr 17, 2026
News Published
via The Hacker News·03:22 AM
News Published
via BleepingComputer·09:30 AM
Apr 21, 2026
News Published
via BleepingComputer·11:17 AM
Jul 6, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-46604?

CVE-2023-46604 is a vulnerability in Apache ActiveMQ that allows remote code execution.

2

How severe is CVE-2023-46604?

CVE-2023-46604 has a severity rating of 10, which is considered critical.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203