CVE-2021-37942: APM Java Agent Local Privilege Escalation
Published Nov 22, 2023
·Updated
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 Software
2 affected componentsFixes available
maven/co.elastic.apm:apm-agent-parent>=1.18.0<1.27.1
1.27.1
Elastic Apm Java Agent>=1.18.0<=1.27.0
Event History
Nov 22, 2023
CVE Published
via MITRE·01:33 AM
Data Sourced
via MITRE·01:33 AM
DescriptionSeverityWeakness
Advisory Published
03:30 AM
Frequently Asked Questions
1
What is CVE-2021-37942?
CVE-2021-37942 is a vulnerability in the APM Java agent that allows local privilege escalation.
2
What is the severity of CVE-2021-37942?
CVE-2021-37942 has a severity rating of high (7 out of 10).
3
How can an attacker exploit CVE-2021-37942?
An attacker can exploit CVE-2021-37942 by attaching a malicious plugin to an application running the APM Java agent.
4
Which versions of the APM Java agent are affected by CVE-2021-37942?
Versions 1.18.0 to 1.27.1 of the APM Java agent are affected by CVE-2021-37942.
5
How can I fix CVE-2021-37942?
To fix CVE-2021-37942, update the APM Java agent to version 1.27.1.