Skip to content
OpenAdvisories
Medium · 6.8 CVE-2023-49922 EUVD-2023-3224GHSA-hj4r-2c9c-29h3GO-2023-2413

Beats Insertion of Sensitive Information into Log File

Published Dec 12, 2023 · Updated Dec 2, 2024 · Assigned by elastic

Description

An issue was discovered by Elastic whereby Beats and 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 Beats or Elastic Agent attempted to ingest, this could lead to the insertion of sensitive or private information in the Beats or 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

VendorProductAffectedFixed
Elastic Beats 7.0.0, 8.0.0 – < 7.17.16, 8.11.3 7.17.16, 8.11.3

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/elastic/beats >= 8.0.0, < 8.11.3 8.11.3 GHSA-hj4r-2c9c-29h3
Go github.com/elastic/beats >= 7.0.0, < 7.17.16 7.17.16 GHSA-hj4r-2c9c-29h3
Go github.com/elastic/beats/v7 >= 7.0.0, < 7.17.16 7.17.16 GHSA-hj4r-2c9c-29h3
Go github.com/elastic/beats/v7 < 7.17.16 7.17.16 GO-2023-2413

References