{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-37942","published":"2023-11-22T02:15:42.220000Z","last_modified":"2026-06-17T04:01:17.713000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-269"],"cpes":[{"criteria":"cpe:2.3:a:elastic:apm_java_agent:*:*:*:*:*:*:*:*","part":"a","vendor":"elastic","product":"apm_java_agent","version_start_including":"1.18.0","version_end_including":"1.27.0"}],"cpes_truncated":false,"vendors":["elastic"],"products":["elastic/apm_java_agent"],"epss":{"score":0.00262,"percentile":0.11032,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5xqm-hc45-f2g2","ecosystem":"Maven","name":"co.elastic.apm:apm-agent-parent","purl":"pkg:maven/co.elastic.apm/apm-agent-parent","ranges":[{"introduced":"1.18.0","fixed":"1.27.1"}],"versions":["1.18.0","1.18.1","1.19.0","1.20.0","1.21.0","1.22.0","1.23.0","1.24.0","1.25.0","1.26.0","1.26.1","1.26.2","1.27.0"],"versions_truncated":false},{"advisory":"GHSA-5xqm-hc45-f2g2","ecosystem":"Maven","name":"co.elastic.apm:elastic-apm-agent","purl":"pkg:maven/co.elastic.apm/elastic-apm-agent","ranges":[{"introduced":"1.18.0","fixed":"1.27.1"}],"versions":["1.18.0","1.18.1","1.19.0","1.20.0","1.21.0","1.22.0","1.23.0","1.24.0","1.25.0","1.26.0","1.26.1","1.26.2","1.27.0"],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-37942/","html_en":"/en/cve/CVE-2021-37942/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-37942","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-37942"},"untrusted":{"vendor_name":"Elastic","product_name":"Apm Java Agent","desc_en":"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":[{"untrusted_vendor":"Elastic","untrusted_product":"Elastic APM Java Agent","versions":[]}],"references":[{"url":"https://discuss.elastic.co/t/apm-java-agent-security-update/291355","tags":["Vendor Advisory"]},{"url":"https://www.elastic.co/community/security","tags":["Product"]}]}}