APM Java Agent Local Privilege Escalation
Check todayFull system takeover with local access.
7HIGH
CVE-2021-37942
Key Information:
- Vendor
Elastic
- Status
- CVE ID
- CVE ID:
- CVE-2021-37942
- Vendor
- CVE Published:
- 22 November 2023
- Fixed in
- Fixed in:
- 1.27.0
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Elastic APM Java Agent 1.18.0 to below 1.27.0 is vulnerable
Install Elastic APM Java Agent 1.27.0 or later
Read the vendor advisory β2Why it's rated "Check today"
- Its CVSS severity is high (7).
What is CVE-2021-37942?
A local privilege escalation vulnerability exists in the APM Java Agent, where an attacker on the system may attach a malicious plugin to applications utilizing the agent. This flaw allows the execution of code with escalated permissions, potentially leading to unauthorized access to sensitive data and system configuration.
References
More Elastic Vulnerabilities
Input Validation Flaw in Kibana
CVE-2026-0543
ElasticKibanaπ6.5MEDIUM
Cross-site Scripting Vulnerability in Vega by Elastic
CVE-2025-68385
ElasticKibana7.2HIGH
Privilege Escalation in Elastic Cloud Enterprise
CVE-2025-37736
ElasticElastic Cloud Enterpri...8.8HIGH
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction