CRITICAL 10.0

CVE-2023-46604

Apache ActiveMQ is vulnerable to Remote Code Execution

Known exploited: listed in the CISA Known Exploited Vulnerabilities catalog.

Description

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.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.activemq » activemq-client
< 5.15.16>= 5.16.0, < 5.16.7>= 5.17.0, < 5.17.6>= 5.18.0, < 5.18.3
5.15.16, 5.16.7, 5.17.6, 5.18.3
org.apache.activemq » activemq-openwire-legacy
>= 5.8.0, < 5.15.16>= 5.16.0, < 5.16.7>= 5.17.0, < 5.17.6>= 5.18.0, < 5.18.3
5.15.16, 5.16.7, 5.17.6, 5.18.3

Blast radius

2affected artifacts
754affected versions
3,163dependent artifacts (est.)
559,132dependent versions

100% of the dependent artifacts (3,163) still pull an affected version in their latest release.

DepthDependent versions
Direct
26,374
2 hops
79,815
3 hops
172,293
4 hops
204,092
5 hops
56,827
6 hops
19,731

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.