CVE-2021-37942: elastic apm_java_agent Improper Privilege Management
Vulnerability summary
CVE-2021-37942 is a high (CVSS 7.8) Improper Privilege Management vulnerability in elastic apm_java_agent. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15% of scored vulnerabilities.
Timeline
- 22-11-2023PublishedVulnerability first disclosed.
- 04-08-2024Last 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- CVE.orgCNA7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · MavenEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
0.00 pp
From 0.25% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Co.elastic.apm2 products
- apm-agent-parent≥ 1.18.0, < 1.27.1
- elastic-apm-agent≥ 1.18.0, < 1.27.1
Elastic2 products
- apm_java_agent≥ 1.18.0, ≤ 1.27.0
- elastic apm java agent≥ 1.18.0, < 1.27.0
2 vendors · 4 products