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

Medium 5.7 Published Updated

Attackers with log access can read sensitive document data leaked into APM Server logs during failed bulk index requests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-37286?

CVE-2024-37286 is a medium-severity vulnerability in Elastic APM Server, published on 3 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-532

Which versions are affected by CVE-2024-37286?

3 open source packages ship an affected version, including github.com/elastic/apm-server. It affects 1 product.

PackageAffectedFixed in
github.com/elastic/apm-server GoAll versionsNone
github.com/elastic/apm-server GoAll versions8.14.0
github.com/elastic/apm-server GoAll versions8.14.0

Products include Elastic Apm Server.

How do I fix CVE-2024-37286?

Upgrade github.com/elastic/apm-server to 8.14.0 or later.

Is CVE-2024-37286 being exploited?

There is no known exploitation of CVE-2024-37286 in the wild and no public exploit code.

Sources

Also known as GHSA-f6cj-4h3g-hwq4, GO-2024-3037.

Is CVE-2024-37286 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free