APM Java Agent Security Update

APM Java Agent Local Privilege Escalation issue (ESA-2021-28)

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, the attach API, as well as users that have enabled the profiling_inferred_spans_enabled option.

Affected Versions:

Versions 1.10.0 through 1.26.0

Solutions and Mitigations:

Update to 1.27.0 or newer or use the unaffected -javaagent-based installation method and disable the profiling_inferred_spans_enabled option.

CVSSv3: 7.0 - AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVE ID: CVE-2021-37940