Vulnerability · Published Nov 22, 2023 · Assigned by elastic
CVE-2021-37942APM Java Agent Local Privilege Escalation
High 7.0
In plain English
A high-severity privilege mismanagement in Elastic APM Java Agent from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | co.elastic.apm:apm-agent-parent | 1.27.1 | GHSA-5xqm-hc45-f2g2 |
| Maven | co.elastic.apm:elastic-apm-agent | 1.27.1 | GHSA-5xqm-hc45-f2g2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Elastic APM Java Agent | 1.18.0 – before 1.27.0 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H