SCA: security update for elastic-apm (GHSA-r562-m862-63w3)

high Tenable Cloud Security Plugin ID 422704

Description

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

- A local privilege escalation issue was found with the APM Java agent, where a user on the system could
attach a malicious file to an application running with the APM Java agent. Using this vector, a malicious
or compromised user account could use the agent to run commands at a higher level of permissions than they
possess. This vulnerability affects users that have set up the agent via the attacher cli 3, the attach
API 2, as well as users that have enabled the profiling_inferred_spans_enabled option (CVE-2021-37941)

See Also

https://github.com/advisories/GHSA-r562-m862-63w3

Plugin Details

Severity: High

ID: 422704

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

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

CVSS Score Source: CVE-2021-37941

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/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: 12/9/2021

Vulnerability Publication Date: 12/8/2021

Reference Information

CVE: CVE-2021-37941

cwe: CWE-269