Vulnerability · Published Dec 12, 2023 · Assigned by elastic
CVE-2023-49922Beats Insertion of Sensitive Information into Log File
Medium 6.8
In plain English
A medium-severity sensitive data in logs in Beats from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/elastic/beats | 8.11.3 | GHSA-hj4r-2c9c-29h3 |
| Go | github.com/elastic/beats | 7.17.16 | GHSA-hj4r-2c9c-29h3 |
| Go | github.com/elastic/beats/v7 | 7.17.16 | GHSA-hj4r-2c9c-29h3 |
| Go | github.com/elastic/beats/v7 | 7.17.16 | GO-2023-2413 |
Affected products (as reported)
Weakness: CWE-532 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N