GitHub Advisoryadvisory · Go

GHSA-hj4r-2c9c-29h3 Elastic Beats inserts sensitive information into log file

MEDIUM Published 2023-12-12 Modified 2024-06-25 Official page ↗
Aliases
CVE-2023-49922
Ecosystem
Go
Packages
github.com/elastic/beats/v7, github.com/elastic/beats
Severity
Moderate
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-532
Reviewed
2023-12-19

Affected packages

• Go github.com/elastic/beats/v7: >= 7.0.0, < 7.17.16 → fixed in 7.17.16 • Go github.com/elastic/beats: >= 8.0.0, < 8.11.3 → fixed in 8.11.3 • Go github.com/elastic/beats: >= 7.0.0, < 7.17.16 → fixed in 7.17.16

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.

Related

Alias · CVE (1)

  • CVE-2023-49922 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… vulnerability

Weakness · CWE (1)

  • CWE-532 Insertion of Sensitive Information into Log File weakness

References