medium6.8
CVE-2023-49922
Elastic Beats inserts sensitive information into log file
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/elastic/beats | >= 8.0.0, < 8.11.3 | 8.11.3 |
| go | github.com/elastic/beats/v7 | >= 7.0.0, < 7.17.16 | 7.17.16 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Elastic | Elastic Beats | from 7.0.0 before 7.17.16 from 8.0.0 before 8.11.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://discuss.elastic.co/t/beats-and-elastic-agent-8-11-3-7-17-16-security-update-esa-2023-30/349180
- https://github.com/advisories/GHSA-hj4r-2c9c-29h3
- https://nvd.nist.gov/vuln/detail/CVE-2023-49922
- https://github.com/elastic/beats/commit/9bd7de84ab9c31bb4e1c0a348a7b7c26817a0996