Skip to content

CVE-2021-37942 APM Java Agent Local Privilege Escalation

HighCVSS 7.8 EPSS 0.25%
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 plugin to an application running the APM Java agent. By using this vulnerability, an attacker could execute code at a potentially higher level of permissions than their user typically has access to.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
co.elastic.apm/apm-agent-parent(Maven) = 1.18.0; = 1.18.1; = 1.19.0; = 1.20.0 +10 more 1.27.1 Fixed
co.elastic.apm/elastic-apm-agent(Maven) = 1.18.0; = 1.18.1; = 1.19.0; = 1.20.0 +10 more 1.27.1 Fixed
Elastic APM Java Agent >= 1.18.0, < 1.27.0 1.27.0 Fixed
Elastic apm java agent >= 1.18.0, <= 1.27.0 after 1.27.0 Fixed

Affected products

ProductAffected versionsFixed in
co.elastic.apm/apm-agent-parent(Maven) >= 1.18.0, < 1.27.1 1.27.1
co.elastic.apm/apm-agent-parent(Maven) = 1.18.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.18.1 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.19.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.20.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.21.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.22.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.23.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.24.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.25.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.26.0 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.26.1 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.26.2 No fix listed
co.elastic.apm/apm-agent-parent(Maven) = 1.27.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) >= 1.18.0, < 1.27.1 1.27.1
co.elastic.apm/elastic-apm-agent(Maven) = 1.18.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.18.1 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.19.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.20.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.21.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.22.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.23.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.24.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.25.0 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.26.0 No fix listed
Show 5 more
ProductAffected versionsFixed in
co.elastic.apm/elastic-apm-agent(Maven) = 1.26.1 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.26.2 No fix listed
co.elastic.apm/elastic-apm-agent(Maven) = 1.27.0 No fix listed
Elastic apm java agent >= 1.18.0, <= 1.27.0 No fix listed
Elastic APM Java Agent >= 1.18.0, < 1.27.0 1.27.0

References