CVE-2023-46604
CVE-2023-46604 · Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
CVSS 10.0 · Critical · EPSS 100.0% · In KEV · Public exploit · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- apache activemqUpdate to 5.15.16 / 5.16.7 / 5.17.6 …
- apache activemq legacy openwire moduleUpdate to 5.15.16 / 5.16.7 / 5.17.6 …
- activemq Debian 12Update to 5.17.2+dfsg-2+deb12u1
- activemq Debian 13Update to 5.17.6+dfsg-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="activemq"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- USN-7268-1 · Ubuntu 22.04 LTS ·
- DSA-5798-1 · Debian 12 ·
- DLA-3936-1 · Debian 11 ·
- USN-6910-1 · Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS ·
- DLA-3657-1 · Debian 10 ·
Stack: system
Affected products and versions
apache activemq
- Versions
- ≥ 5.18.0, < 5.18.3: Affected (semver)
- ≥ 5.17.0, < 5.17.6: Affected (semver)
- ≥ 5.16.0, < 5.16.7: Affected (semver)
- ≥ 0, < 5.15.16: Affected (semver)
Update to 5.15.16; Update to 5.16.7; Update to 5.17.6; Update to 5.18.3
apache activemq legacy openwire module
- Versions
- ≥ 5.18.0, < 5.18.3: Affected (semver)
- ≥ 5.17.0, < 5.17.6: Affected (semver)
- ≥ 5.16.0, < 5.16.7: Affected (semver)
- ≥ 5.8.0, < 5.15.16: Affected (semver)
Update to 5.15.16; Update to 5.16.7; Update to 5.17.6; Update to 5.18.3
activemq Debian 12
- Versions
- 5.17.2+dfsg-2
- Affected ranges
- ECOSYSTEM: < 5.17.2+dfsg-2+deb12u1
Update to 5.17.2+dfsg-2+deb12u1
activemq Debian 13
- Affected ranges
- ECOSYSTEM: < 5.17.6+dfsg-1
Update to 5.17.6+dfsg-1
activemq Ubuntu Pro 16.04 LTS
- Versions
- 5.6.0+dfsg1-4+deb8u1ubuntu1
- 5.6.0+dfsg1-5
- 5.13.2+dfsg-2
- Affected ranges
- ECOSYSTEM: < 5.13.2+dfsg-2ubuntu0.1~esm1
Update to 5.13.2+dfsg-2ubuntu0.1~esm1
activemq Ubuntu Pro 18.04 LTS
- Versions
- 5.14.5-3
- 5.15.2-2
- 5.15.3-2
- 5.15.8-2~18.04
- Affected ranges
- ECOSYSTEM: < 5.15.8-2~18.04.1~esm1
Update to 5.15.8-2~18.04.1~esm1
activemq Ubuntu Pro 20.04 LTS
- Versions
- 5.15.10-1
- 5.15.11-1
- Affected ranges
- ECOSYSTEM: < 5.15.11-1ubuntu0.1~esm1
Update to 5.15.11-1ubuntu0.1~esm1
activemq Ubuntu 22.04 LTS
- Versions
- 5.16.1-1
- Affected ranges
- ECOSYSTEM: < 5.16.1-1ubuntu0.1
Update to 5.16.1-1ubuntu0.1
activemq Ubuntu Pro 22.04 LTS
- Versions
- 5.16.1-1
- Affected ranges
- ECOSYSTEM: < 5.16.1-1ubuntu0.1~esm1
Update to 5.16.1-1ubuntu0.1~esm1
Original sources
- 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
- https://lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604
- https://nvd.nist.gov/vuln/detail/CVE-2023-46604