CVE-2021-37941

Published Dec 8, 2021 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
A local privilege escalation issue was found with the APM Java agent, where a user on the system could attach a malicious file to an application running with the APM Java agent. Using this vector, a malicious or compromised user account could use the agent to run commands at a higher level of permissions than they possess. This vulnerability affects users that have set up the agent via the attacher cli 3, the attach API 2, as well as users that have enabled the profiling_inferred_spans_enabled option

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2577 A local privilege escalation issue was found with the APM Java agent, where a user on the system could attach a malicious file to an application running with the APM Java agent. Using this vector, a malicious or compromised user account could use the agent to run commands at a higher level of permissions than they possess. This vulnerability affects users that have set up the agent via the attacher cli 3, the attach API 2, as well as users that have enabled the profiling_inferred_spans_enabled option
Github GHSA Github GHSA GHSA-r562-m862-63w3 APM Java Agent Local Privilege Escalation
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
elastic
Published
Updated
Aug 4, 2024, 1:30 AM
Reserved
Aug 3, 2021, 12:00 AM
Status
Modified
Published
Dec 8, 2021, 10:15 PM
Modified
Jun 17, 2026, 4:01 AM