What’s Vulnerable › Vulnerabilities

CVE-2023-6687: Elastic Agent Insertion of Sensitive Information into Log File

Description

An issue was discovered by Elastic whereby Elastic Agent would log a raw event in its own logs at the WARN or ERROR level if ingesting that event to Elasticsearch failed with any 4xx HTTP status code except 409 or 429. Depending on the nature of the event that Elastic Agent attempted to ingest, this could lead to the insertion of sensitive or private information in the Elastic Agent logs. Elastic has released 8.11.3 and 7.17.16 that prevents this issue by limiting these types of logs to DEBUG level logging, which is disabled by default.

Affected products

How to fix

Upgrade to a fixed version: Elastic Agent 7.17.16, 8.11.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-6687 or the next vulnerability affects your stack