~ / search / GHSA-hj4r-2c9c-29h3

GHSA-hj4r-2c9c-29h3

Elastic Beats inserts sensitive information into log file

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-49922

Packages

EcosystemPackageAffectedFixed in
Go github.com/elastic/beats/v7 >= 7.0.0, < 7.17.16 7.17.16
Go github.com/elastic/beats >= 8.0.0, < 8.11.3 8.11.3
Go github.com/elastic/beats >= 7.0.0, < 7.17.16 7.17.16

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.