CVE-2023-46604
Apache ActiveMQ is vulnerable to Remote Code Execution
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)
| Artifact | Affected versions | Fixed 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
100% of the dependent artifacts (3,163) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.activemq » activemq-broker625 usages
- org.apache.camel.kafkaconnector » camel-kafka-connector616 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.activemq » activemq-kahadb-store236 usages
- org.apache.activemq » activemq-all234 usages
- org.apache.activemq » activemq-camel206 usages
- org.apache.activemq » activemq-pool205 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- org.apache.tomee » openejb-core193 usages
- org.wso2.carbon.automation » org.wso2.carbon.automation.extensions159 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.openejb » openejb-core148 usages
- org.wso2.carbon.automationutils » org.wso2.carbon.integration.common.extensions144 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-46604
- Webhttps://github.com/apache/activemq/pull/1098
- Webhttps://github.com/apache/activemq/commit/22442b2385b1000312aec3d19e510131d595a5fc
- Webhttps://github.com/apache/activemq/commit/80089f9f476afab7d976f5fc37c5ab4aa0c2139d
- Webhttps://github.com/apache/activemq/commit/958330df26cf3d5cdb63905dc2c6882e98781d8f
- Webhttps://github.com/apache/activemq/commit/9905e2a5bf9862a049f94ce0a2465b0c7ad52436
- Webhttps://github.com/apache/activemq/commit/d0ccdd31544ada83185554c87c7aa141064020f0
- Webhttps://www.openwall.com/lists/oss-security/2023/10/27/5
- Webhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604
- Webhttps://security.netapp.com/advisory/ntap-20231110-0010
- Webhttps://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- Webhttps://lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- Webhttps://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- Webhttps://issues.apache.org/jira/browse/AMQ-9370
- Packagehttps://github.com/apache/activemq
- Webhttps://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt
- Webhttps://activemq.apache.org/security-advisories.data/CVE-2023-46604
- Webhttp://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- Webhttp://seclists.org/fulldisclosure/2024/Apr/18
- Webhttp://www.openwall.com/lists/oss-security/2023/10/27/5
