Loading...
Skip to main content

CVE-2023-46604 — Vulnerability in...

CRITICAL
Actively Exploited

Apache ActiveMQ is vulnerable to Remote Code Execution

Published October 27, 2023Updated November 4, 2025Source: osv

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Summary

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.

Advisory Timeline

  • First published October 27, 2023 (1081 days ago).
  • Last revised November 4, 2025 — 738 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 5 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.15.16 or later
<!-- Update pom.xml dependency version to 5.15.16 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.17.6 or later
<!-- Update pom.xml dependency version to 5.17.6 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-client to 5.15.16 or later
<!-- Update pom.xml dependency version to 5.15.16 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-client to 5.18.3 or later
<!-- Update pom.xml dependency version to 5.18.3 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-client to 5.16.7 or later
<!-- Update pom.xml dependency version to 5.16.7 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.16.7 or later
<!-- Update pom.xml dependency version to 5.16.7 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-client to 5.17.6 or later
<!-- Update pom.xml dependency version to 5.17.6 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.18.3 or later
<!-- Update pom.xml dependency version to 5.18.3 for org.apache.activemq:activemq-openwire-legacy -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
org.apache.activemq:activemq-openwire-legacy
maven
5.10.0, 5.10.1, 5.10.2, 5.11.0 (+39 more)5.15.16
org.apache.activemq:activemq-openwire-legacy
maven
5.17.0, 5.17.1, 5.17.2, 5.17.3 (+2 more)5.17.6
org.apache.activemq:activemq-client
maven
5.10.0, 5.10.1, 5.10.2, 5.11.0 (+39 more)5.15.16
org.apache.activemq:activemq-client
maven
5.18.0, 5.18.1, 5.18.25.18.3
org.apache.activemq:activemq-client
maven
5.16.0, 5.16.1, 5.16.2, 5.16.3 (+3 more)5.16.7
org.apache.activemq:activemq-openwire-legacy
maven
5.16.0, 5.16.1, 5.16.2, 5.16.3 (+3 more)5.16.7
org.apache.activemq:activemq-client
maven
5.17.0, 5.17.1, 5.17.2, 5.17.3 (+2 more)5.17.6
org.apache.activemq:activemq-openwire-legacy
maven
5.18.0, 5.18.1, 5.18.25.18.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

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:H/E:H

Frequently Asked Questions

What is CVE-2023-46604?
Apache ActiveMQ is vulnerable to Remote Code Execution This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2023-46604?
CVE-2023-46604 affects org.apache.activemq:activemq-openwire-legacy and org.apache.activemq:activemq-client. This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-46604 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: November 2, 2023

Remediation deadline: November 23, 2023

Also Known As

GHSA-crg9-44h2-xw35
BIT-activemq-2023-46604

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies