CVE-2023-46604Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization…
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2023-11-02). If you run an affected version, patch or mitigate now.
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | activemq | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | activemq | Fix pending | 5.16.1-1ubuntu0.1 (Ubuntu Pro) | UBUNTU-CVE-2023-46604 |
| Ubuntu 20.04 | activemq | Fix pending | 5.15.11-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-46604 |
| Ubuntu 18.04 | activemq | Fix pending | 5.15.8-2~18.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-46604 |
| Ubuntu 16.04 | activemq | Fix pending | 5.13.2+dfsg-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-46604 |
| Ubuntu 14.04 | activemq | Fix pending | ||
| Debian 13 | activemq | Fixed | 5.17.6+dfsg-1 | DEBIAN-CVE-2023-46604 |
| Debian 12 | activemq | Fixed | 5.17.2+dfsg-2+deb12u1 | DEBIAN-CVE-2023-46604 |
| Maven library | org.apache.activemq:activemq-client | Fixed | 5.18.3 | GHSA-crg9-44h2-xw35 |
| Maven library | org.apache.activemq:activemq-openwire-legacy | Fixed | 5.17.6 | GHSA-crg9-44h2-xw35 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache ActiveMQ: affected: 5.18.0 to before 5.18.3, 5.17.0 to before 5.17.6, 5.16.0 to before 5.16.7, before 5.15.16; fixed in
5.18.3,5.17.6,5.16.7,5.15.16 - Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module: affected: 5.18.0 to before 5.18.3, 5.17.0 to before 5.17.6, 5.16.0 to before 5.16.7, 5.8.0 to before 5.15.16; fixed in
5.18.3,5.17.6,5.16.7,5.15.16
Vendor advisories:
- https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt (vendor-advisory)
References
- https://activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt
- https://www.openwall.com/lists/oss-security/2023/10/27/5
- https://security.netapp.com/advisory/ntap-20231110-0010/
- https://packetstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.html
- https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- http://seclists.org/fulldisclosure/2024/Apr/18
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.