CVE & CISA-KEV Catalog

CVE-2022-41678

HIGHEPSS 100th pctl
8.8
CVSS v3
NVD

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.

How to fix

Remediation Available
activemqDebian
Fixed in:5.16.1-1+deb11u1CVE-2022-41678
Fixed in:5.17.2+dfsg-2+deb12u1CVE-2022-41678
Fixed in:5.17.6+dfsg-1CVE-2022-41678
Fixed in:5.17.6+dfsg-1CVE-2022-41678
amq7/amqRocky
Fixed in:broker-rhel8@sha256:25100bd1bb6b113af4e51deb6538ed554340091389ab2639ec77824c6cb0bc15_s390xRHSA-2024:2944
Fixed in:broker-rhel8@sha256:081c73ec804f236ff0d00d7495a6d1053d1b6161ae7d944c889fc2d1181caa3f_amd64RHSA-2024:2944
Fixed in:broker-rhel8@sha256:cd306c06c811d5e5c3d1912dd2bf2d08c10e057f1d7c59cba8475e105dd72cf0_arm64RHSA-2024:2944
Fixed in:broker-rhel8@sha256:b2aa89fb6eb23d41b1101ef2080a628a51d2a0949395e921247be302ff0e9778_ppc64leRHSA-2024:2944
amq7/amqRed Hat / RHEL
Fixed in:broker-rhel8@sha256:b2aa89fb6eb23d41b1101ef2080a628a51d2a0949395e921247be302ff0e9778_ppc64leRHSA-2024:2944
Fixed in:broker-rhel8@sha256:25100bd1bb6b113af4e51deb6538ed554340091389ab2639ec77824c6cb0bc15_s390xRHSA-2024:2944
Fixed in:broker-rhel8@sha256:081c73ec804f236ff0d00d7495a6d1053d1b6161ae7d944c889fc2d1181caa3f_amd64RHSA-2024:2944
Fixed in:broker-rhel8@sha256:cd306c06c811d5e5c3d1912dd2bf2d08c10e057f1d7c59cba8475e105dd72cf0_arm64RHSA-2024:2944
amq7/amq-brokerRocky
Fixed in:init-rhel8@sha256:e3c7913dc5a441fc38f35081cd405425ec3f4d299d77890db9d57b042f459852_s390xRHSA-2024:2944
Fixed in:rhel8-operator@sha256:7231e51c0f078cd742b12c52c6616f19e669909ebb2fb6e02292173a5def5fab_s390xRHSA-2024:2944
Fixed in:init-rhel8@sha256:de1724d437174eefb20ed7dd8981a05607c55cfe8d6ea6667df94fdfdefe6ead_arm64RHSA-2024:2944
Fixed in:rhel8-operator@sha256:27deae2dfec99135f1dd3dcfffdaf6167e056e29aa481cb3f78ee36d407181b8_arm64RHSA-2024:2944
Fixed in:init-rhel8@sha256:4755cc6d13566065f6fd0b9544001ece5e0424ddbff774420f5be9bbfe03ae9e_amd64RHSA-2024:2944
Fixed in:rhel8-operator@sha256:996d20078a6a4f98f220793bded0b1c7ad08df3a292f26be71e52070fc538367_amd64RHSA-2024:2944
Fixed in:init-rhel8@sha256:3bd3ed2acad8c5792c7222254c8ef09c2eeb4dcfd3e96622fe98f50ce094ca3e_ppc64leRHSA-2024:2944
Fixed in:rhel8-operator@sha256:a840f54acec50b424b1c4a8d984230777bf042fb98b526d213cbb5b3df023435_ppc64leRHSA-2024:2944
amq7/amq-brokerRed Hat / RHEL
Fixed in:init-rhel8@sha256:de1724d437174eefb20ed7dd8981a05607c55cfe8d6ea6667df94fdfdefe6ead_arm64RHSA-2024:2944
Fixed in:rhel8-operator@sha256:996d20078a6a4f98f220793bded0b1c7ad08df3a292f26be71e52070fc538367_amd64RHSA-2024:2944
Fixed in:init-rhel8@sha256:3bd3ed2acad8c5792c7222254c8ef09c2eeb4dcfd3e96622fe98f50ce094ca3e_ppc64leRHSA-2024:2944
Fixed in:rhel8-operator@sha256:a840f54acec50b424b1c4a8d984230777bf042fb98b526d213cbb5b3df023435_ppc64leRHSA-2024:2944
Fixed in:init-rhel8@sha256:e3c7913dc5a441fc38f35081cd405425ec3f4d299d77890db9d57b042f459852_s390xRHSA-2024:2944
Fixed in:rhel8-operator@sha256:7231e51c0f078cd742b12c52c6616f19e669909ebb2fb6e02292173a5def5fab_s390xRHSA-2024:2944
Fixed in:init-rhel8@sha256:4755cc6d13566065f6fd0b9544001ece5e0424ddbff774420f5be9bbfe03ae9e_amd64RHSA-2024:2944
Fixed in:rhel8-operator@sha256:27deae2dfec99135f1dd3dcfffdaf6167e056e29aa481cb3f78ee36d407181b8_arm64RHSA-2024:2944
amq7/amq-broker-rhel8Red Hat / RHEL
Fixed in:operator-bundle@sha256:22ba090595eb88cc56d69c759388310d477e50fd97a4c6fcf3e7eecd94df99f9_amd64RHSA-2024:2944
amq7/amq-broker-rhel8Rocky
Fixed in:operator-bundle@sha256:22ba090595eb88cc56d69c759388310d477e50fd97a4c6fcf3e7eecd94df99f9_amd64RHSA-2024:2944
activemqUbuntu
Fixed in:5.13.2+dfsg-2ubuntu0.1~esm1USN-6910-1
Fixed in:5.15.8-2~18.04.1~esm1USN-6910-1
Fixed in:5.15.11-1ubuntu0.1~esm1USN-6910-1
Fixed in:5.16.1-1ubuntu0.1~esm1USN-6910-1
Fixed in:5.16.1-1ubuntu0.1USN-7268-1
libactivemq-javaUbuntu
Fixed in:5.13.2+dfsg-2ubuntu0.1~esm1USN-6910-1
Fixed in:5.15.8-2~18.04.1~esm1USN-6910-1
Fixed in:5.15.11-1ubuntu0.1~esm1USN-6910-1
Fixed in:5.16.1-1ubuntu0.1USN-7268-1
Fixed in:5.16.1-1ubuntu0.1~esm1USN-6910-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

85.81%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

References

Related Vulnerabilities

Other CWE-287 (Improper Authentication) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-35082Critical9.8100%KEV + RansomFix
CVE-2023-35078Critical9.8100%KEV + RansomFix
CVE-2017-7921Critical9.8100%KEV-
CVE-2024-7593Critical9.8100%KEV-
CVE-2023-46805High8.2100%KEV + Ransom-
CVE-2022-40684Critical9.8100%KEV + RansomFix

Common questions

How do I fix CVE-2022-41678?

Published advisories record a fix for 9 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-41678 being actively exploited?

Not that we know of. CVE-2022-41678 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 85.8% is the estimated probability that it will be exploited in the next 30 days. That is higher than 100% of all scored CVEs.

How severe is CVE-2022-41678?

CVE-2022-41678 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-41678 affect?

Published advisories record a fix for activemq (Debian), amq7/amq (Rocky), amq7/amq (Red Hat / RHEL), amq7/amq-broker (Rocky), and 5 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-41678
CVE-2022-41678 severity badge

Markdown

[![CVE-2022-41678](https://tridentstack.com/cve/badge/CVE-2022-41678.svg)](https://tridentstack.com/cve/CVE-2022-41678)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-41678"><img src="https://tridentstack.com/cve/badge/CVE-2022-41678.svg" alt="CVE-2022-41678"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.