Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. elastic-apm
  4. ›
  5. CVE-2021-37941

CVE-2021-37941: Improper Privilege Management

December 8, 2021 (updated December 14, 2021)

A local privilege escalation issue was found with the APM Java agent, where a user on the system could attach a malicious file to an application running with the APM Java agent. Using this vector, a malicious or compromised user account could use the agent to run commands at a higher level of permissions than they possess. This vulnerability affects users that have set up the agent via the attacher cli 3, the attach API 2, as well as users that have enabled the profiling_inferred_spans_enabled option

References

  • discuss.elastic.co/t/apm-java-agent-security-update/289627
  • nvd.nist.gov/vuln/detail/CVE-2021-37941

Code Behaviors & Features

Detect and mitigate CVE-2021-37941 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.10.0 up to 1.26.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

pypi/elastic-apm/CVE-2021-37941.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.