Skip to content

CVE-2021-37941 APM Java Agent Local Privilege Escalation

HighCVSS 7.8 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known

Description

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

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
Elastic apm agent >= 1.10.0, <= 1.26.0 after 1.26.0 Fixed
pypi elastic-apm(PyPI) >= 1.10.0, < 1.27.0 1.27.0 Fixed
Elastic apm java agent = 1.10.0 through 1.26.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi elastic-apm(PyPI) >= 1.10.0, < 1.27.0 1.27.0
Elastic apm agent >= 1.10.0, <= 1.26.0 No fix listed
Elastic apm java agent = 1.10.0 through 1.26.0 No fix listed

References