Vulnerabilities · 2021 · Elastic
CVE-2021-37942
Elastic Apm Java Agent vulnerability
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 products
Apm Java Agent. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Elastic Apm Java Agent runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Elastic products
CVE-2026-0543CVE-2026-0531CVE-2026-0530CVE-2026-0528CVE-2025-68422CVE-2025-68390CVE-2025-68389CVE-2025-68387All 204
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.