{"id":"CVE-2021-37941","published":"2021-12-08T21:15:19Z","modified":"2024-08-04T01:30:08Z","title":"A local privilege escalation issue was found with the APM Java agent, where a user on the system could attach a…","vendor":"Elastic","product":"APM Java Agent","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00214,"percentile":0.06724,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://discuss.elastic.co/t/apm-java-agent-security-update/289627","tags":["x_refsource_MISC"]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.34}]},"vendorSlug":"elastic","affectedVersions":[{"vendor":"Elastic","product":"APM Java Agent","versions":["1.10.0 through 1.26.0"]}],"affected":[{"ecosystem":"PyPI","package":"elastic-apm","vulnerableRanges":[">=1.10.0, <1.27.0"],"patched":["1.27.0"],"from":["GHSA-r562-m862-63w3","PYSEC-2026-634"],"provenance":"source"}],"summary":{"text":"The Elastic APM Java Agent contains a local privilege escalation flaw, classified as improper privilege management, that affects deployments set up via the attacher CLI or attach API, or with the profiling_inferred_spans_enabled option enabled. A local user on the system who can attach a malicious file to an application running the agent can use the agent to run commands with higher permissions than their own account holds.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:52Z"},"euvd":{"id":"EUVD-2021-2577","exploited":false,"provenance":"source"}}