WaratekVRT Sign in

CVE-2021-37942 APM Java agent

Affected softwareAPM Java agent
Severity7.8 High CVSS 3.1 2 scores
Fixed in1.27.1
WeaknessImproper privilege management (CWE-269)
Published22 Nov 2023
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.25% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

7.8 HIGH v3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 7.0 HIGH CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H security@elastic.co Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
co.elastic.apm:apm-agent-parent 1.18.0 1.27.1 unbounded
co.elastic.apm:elastic-apm-agent 1.18.0 1.27.1 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected versions
osv co.elastic.apm apm-agent-parent generic ≥ 1.18.0 and < 1.27.1
osv co.elastic.apm elastic-apm-agent generic ≥ 1.18.0 and < 1.27.1
nvd elastic apm java agent generic ≥ 1.18.0 and ≤ 1.27.0

References

URLTags
https://discuss.elastic.co/t/apm-java-agent-security-update/291355 WEB
https://github.com/elastic/apm-agent-java PACKAGE
https://www.elastic.co/community/security WEB

Timeline

Published2023-11-22By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.