CVE-2022-41678
HighApache ActiveMQ Deserialization of Untrusted Data vulnerability
Published Nov 28, 2023 · Updated Sep 8, 2026 · Also known as BIT-activemq-2022-41678, DEBIAN-CVE-2022-41678, DLA-3936-1, DSA-5798-1, GHSA-53v4-42fg-g287, UBUNTU-CVE-2022-41678
Key Facts
Patch immediately- CVE-2022-41678 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Activemq (Apache), rootio-activemq, org.apache.activemq:apache-activemq (maven) and 3 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 86% probability of exploitation in the next 30 days.
- Fixed versions are available, including Activemq 5.13.2+dfsg-2ubuntu0.1~esm1, Activemq 5.15.11-1ubuntu0.1~esm1, Activemq 5.15.8-2~18.04.1~esm1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
86%
Higher than 99.7% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2022-41678 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution.
In details, in ActiveMQ configurations, jetty allows org.jolokia.http.AgentServlet to handler request to /api/jolokia
org.jolokia.http.HttpRequestHandler#handlePostRequest is able to create JmxRequest through JSONObject. And calls to org.jolokia.http.HttpRequestHandler#executeRequest.
Into deeper calling stacks, org.jolokia.handler.ExecHandler#doHandleRequest can be invoked through refection. This could lead to RCE through via various mbeans. One example is unrestricted deserialization in jdk.management.jfr.FlightRecorderMXBeanImpl which exists on Java version above 11.
1 Call newRecording.
2 Call setConfiguration. And a webshell data hides in it.
3 Call startRecording.
4 Call copyTo method. The webshell will be written to a .jsp file.
The mitigation is to restrict (by default) the actions authorized on Jolokia, or disable Jolokia. A more restrictive Jolokia configuration has been defined in default ActiveMQ distribution. We encourage users to upgrade to ActiveMQ distributions version including updated Jolokia configuration: 5.16.6, 5.17.4, 5.18.0, 6.0.0.
Affected Products
28 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| ActivemqApache | See advisory | 5.16.6 |
| rootio-activemqrootio | See advisory | 5.16.1-1+deb11u1 |
| org.apache.activemq:apache-activemqmaven | >= 5.17.0 | 5.17.4 |
| amq7/amq-broker-init-rhel8:7.12.0redhat | See advisory | 7 |
| amq7/amq-broker-rhel8:7.12.0redhat | See advisory | 7 |
Patched Releases
Activemq
5.13.2+dfsg-2ubuntu0.1~esm1, 5.15.11-1ubuntu0.1~esm1, 5.15.8-2~18.04.1~esm1, 5.16.1-1+deb11u1, 5.16.1-1ubuntu0.1, 5.16.1-1ubuntu0.1~esm1, 5.16.6, 5.17.2+dfsg-2+deb12u1, 5.17.4, 5.17.6+dfsg-1
amq7/amq-broker-init-rhel8:7.12.0
7
amq7/amq-broker-rhel8-operator-bundle:7.12.0
10
amq7/amq-broker-rhel8:7.12.0
7
org.apache.activemq:apache-activemq
5.16.6, 5.17.4
rootio-activemq
5.16.1-1+deb11u1, 5.17.2+dfsg-2+deb12u1, 5.17.6+dfsg-1
Timeline
Publicly disclosed
Nov 28, 2023
Last updated
Sep 8, 2026
Weakness Type
- CWE-287 Improper Authentication
- CWE-502 Deserialization of Untrusted Data
References
- advisoryRHSA-2024:2944
- advisoryRHSA-2024:2945
- advisoryRHSA-2024:3354
- advisoryhttps://activemq.apache.org/security-advisories.data/CVE-2022-41678-announcement.txt
- advisoryGHSA advisory
FAQ
Common Questions.
Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution.
Affected: Activemq (Apache); rootio-activemq; org.apache.activemq:apache-activemq (maven) versions >= 5.17.0, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Activemq 5.13.2+dfsg-2ubuntu0.1~esm1, Activemq 5.15.11-1ubuntu0.1~esm1, Activemq 5.15.8-2~18.04.1~esm1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-41678 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo