Vulnerability · Published Nov 22, 2023 · Assigned by elastic

CVE-2021-37942APM Java Agent Local Privilege Escalation

High 7.0

In plain English

A high-severity privilege mismanagement in Elastic APM Java Agent from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.2%top 83.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenco.elastic.apm:apm-agent-parent1.27.1GHSA-5xqm-hc45-f2g2
Mavenco.elastic.apm:elastic-apm-agent1.27.1GHSA-5xqm-hc45-f2g2

Affected products (as reported)

VendorProductVersions
Elastic Elastic APM Java Agent 1.18.0 – before 1.27.0

Weakness: CWE-269 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References