GHSA-hj4r-2c9c-29h3
Elastic Beats inserts sensitive information into log file
At a glance
- Published
- Updated
- CVE
- CVE-2023-49922
- Aliases
- GO-2023-2413
- CVSS_V3
- CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
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 packages
| Package | Versions |
|---|---|
| Go · github.com/elastic/beats/v7 | introduced 7.0.0, fixed 7.17.16 |
| Go · github.com/elastic/beats | introduced 8.0.0, fixed 8.11.3 |
| Go · github.com/elastic/beats | introduced 7.0.0, fixed 7.17.16 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-49922 ADVISORY
- https://github.com/elastic/beats/commit/9bd7de84ab9c31bb4e1c0a348a7b7c26817a0996 WEB
- https://discuss.elastic.co/t/beats-and-elastic-agent-8-11-3-7-17-16-security-update-esa-2023-30/349180 WEB
- https://github.com/elastic/beats PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |