CVE-2021-37942

High

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.

SeverityHigh
CVSS7.0
Exploit probability—
ProductElastic Apm Java Agent
PublishedNov 22, 2023
First seenNov 22, 2023

How to fix

Update
  • co.elastic.apm:apm-agent-parent1.27.1 or later
  • co.elastic.apm:elastic-apm-agent1.27.1 or later

Affected products

ProductAffected versionsFixed in
elastic apm_java_agent1.18.0 ≤ v ≤ 1.27.0—
co.elastic.apm:apm-agent-parentMaven1.18.0 ≤ v < 1.27.11.27.1
co.elastic.apm:elastic-apm-agentMaven1.18.0 ≤ v < 1.27.11.27.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-37942 · Elastic Apm Java Agent · Dark Radar