Skip to content
OpenAdvisories
High · 7.8 CVE-2021-37941 EUVD-2021-2577GHSA-r562-m862-63w3PYSEC-2026-634

APM Java Agent Local Privilege Escalation

Published Dec 8, 2021 · Updated Aug 4, 2024 · Assigned by elastic

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

Affected products

VendorProductAffectedFixed
Elastic APM Java Agent 1.10.0 through 1.26.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI elastic-apm >= 1.10.0, < 1.27.0 1.27.0 GHSA-r562-m862-63w3

References