7.0high
APM Java Agent Local Privilege Escalation
- Severity
- 7.0high CVSS:3.1 by elastic
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- elastic
- Also known as
- GHSA-5xqm-hc45-f2g2
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Elastic Elastic APM Java Agent | from 1.18.0 before 1.27.0 | CVE List |
| co.elastic.apm:apm-agent-parent (Maven) | from 1.18.0 before 1.27.1 | GitHub Advisory Database |
| co.elastic.apm:elastic-apm-agent (Maven) | from 1.18.0 before 1.27.1 | GitHub Advisory Database |
| elastic apm_java_agent | from 1.18.0 up to 1.27.0 | NVD |
All scores
| elastic | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró un problema de escalada de privilegios local con APM Java Agent, donde un usuario del sistema podía adjuntar un complemento malicioso a una aplicación que ejecutaba APM Java Agent. Al utilizar esta vulnerabilidad, un atacante podría ejecutar código con un nivel de permisos potencialmente más alto del que normalmente tiene acceso su usuario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37942 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5xqm-hc45-f2g2 changed 2025-09-30 | CC-BY-4.0 |
| NVD | CVE-2021-37942 changed 2026-06-17 | Public domain |