SCA: security update for org.apache.activemq:apache-activemq (GHSA-53v4-42fg-g287)

high Tenable Cloud Security Plugin ID 410542

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-41678)

See Also

https://github.com/advisories/GHSA-53v4-42fg-g287

Plugin Details

Severity: High

ID: 410542

Version: Revision 1.17

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.95

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-41678

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/28/2023

Vulnerability Publication Date: 11/2/2023

Reference Information

CVE: CVE-2022-41678