GitHub Advisoryadvisory · Maven

GHSA-5xqm-hc45-f2g2 APM Java Agent Local Privilege Escalation issue

HIGH Published 2023-11-22 Modified 2025-09-30 Official page ↗
Aliases
CVE-2021-37942
Ecosystem
Maven
Packages
co.elastic.apm:apm-agent-parent, co.elastic.apm:elastic-apm-agent
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-269
Reviewed
2023-11-22

Affected packages

• Maven co.elastic.apm:apm-agent-parent: >= 1.18.0, < 1.27.1 → fixed in 1.27.1 • Maven co.elastic.apm:elastic-apm-agent: >= 1.18.0, < 1.27.1 → fixed in 1.27.1

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.

Related

Alias · CVE (1)

  • CVE-2021-37942 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… vulnerability

Weakness · CWE (1)

  • CWE-269 Improper Privilege Management weakness

References