{"id":"CVE-2021-37942","aliases":["GHSA-5xqm-hc45-f2g2"],"url":"https://o3.security/vulnerability/CVE-2021-37942","summary":"APM Java Agent Local Privilege Escalation issue","details":"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.","published":"2023-11-22T02:15:42.220Z","modified":"2026-07-08T23:46:27.251467Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"co.elastic.apm:apm-agent-parent","fixedVersion":"1.27.1"},{"ecosystem":"Maven","name":"co.elastic.apm:elastic-apm-agent","fixedVersion":"1.27.1"}],"fix":null,"references":[{"type":"WEB","url":"https://www.elastic.co/community/security"},{"type":"ADVISORY","url":"https://discuss.elastic.co/t/apm-java-agent-security-update/291355"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T23:46:27.251467Z"}}