{"cve":"CVE-2021-37942","nvd":{"published":"2023-11-22T02:15:42.220","modified":"2026-06-17T04:01:17.713","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-269"],"references":["https://discuss.elastic.co/t/apm-java-agent-security-update/291355","https://www.elastic.co/community/security","https://discuss.elastic.co/t/apm-java-agent-security-update/291355","https://www.elastic.co/community/security"],"products":["elastic:apm_java_agent"],"source":"nvd","synced_at":"2026-10-19T21:42:07.670898610+00:00"},"epss":{"cve":"CVE-2021-37942","score":0.00249,"percentile":0.16264,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-5xqm-hc45-f2g2","url":"https://osv.dev/vulnerability/GHSA-5xqm-hc45-f2g2","summary":"APM Java Agent Local Privilege Escalation issue","modified":"2025-09-30T17:23:17.050609Z","packages":[{"ecosystem":"Maven","name":"co.elastic.apm:apm-agent-parent","purl":"pkg:maven/co.elastic.apm/apm-agent-parent","ranges":[">=1.18.0 <1.27.1"],"fixed":["1.27.1"]},{"ecosystem":"Maven","name":"co.elastic.apm:elastic-apm-agent","purl":"pkg:maven/co.elastic.apm/elastic-apm-agent","ranges":[">=1.18.0 <1.27.1"],"fixed":["1.27.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}