Skip to content

Elastic Beats inserts sensitive information into log file

Moderate severity GitHub Reviewed Published Dec 12, 2023 to the GitHub Advisory Database • Updated Dec 19, 2023

Package

gomod github.com/elastic/beats (Go)

Affected versions

>= 8.0.0, < 8.11.3

Patched versions

8.11.3
gomod github.com/elastic/beats/v7 (Go)
< 7.17.16
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.

References

Published by the National Vulnerability Database Dec 12, 2023
Published to the GitHub Advisory Database Dec 12, 2023
Reviewed Dec 19, 2023
Last updated Dec 19, 2023

Severity

Moderate
6.8
/ 10

CVSS base metrics

Attack vector
Adjacent
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2023-49922

GHSA ID

GHSA-hj4r-2c9c-29h3

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.