7.8

CVE-2021-37942: APM Java Agent Local Privilege Escalation

Modified
AliasesGHSA-5xqm-hc45-f2g2
Published 22-11-2023Last modified 04-08-2024

Vulnerability summary

CVE-2021-37942 is a high (CVSS 7.8) Improper Privilege Management vulnerability in elastic apm_java_agent. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 22-11-2023
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.25% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Co.elastic.apm2 products
  • apm-agent-parent≥ 1.18.0, < 1.27.1
  • elastic-apm-agent≥ 1.18.0, < 1.27.1
Elastic2 products

2 vendors · 4 products

References

4 links