High severity7.0NVD Advisory· Published Nov 22, 2023· Updated Jun 17, 2026
CVE-2021-37942
CVE-2021-37942
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
co.elastic.apm:apm-agent-parentMaven | >= 1.18.0, < 1.27.1 | 1.27.1 |
co.elastic.apm:elastic-apm-agentMaven | >= 1.18.0, < 1.27.1 | 1.27.1 |
Affected products
3- ghsa-coords2 versions
>= 1.18.0, < 1.27.1+ 1 more
- (no CPE)range: >= 1.18.0, < 1.27.1
- (no CPE)range: >= 1.18.0, < 1.27.1
Patches
Vulnerability mechanics
References
4- discuss.elastic.co/t/apm-java-agent-security-update/291355nvdVendor AdvisoryWEB
- github.com/advisories/GHSA-5xqm-hc45-f2g2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-37942ghsaADVISORY
- www.elastic.co/community/securitynvdProductWEB
News mentions
0No linked articles in our index yet.