CVE-2023-49922
JSON

6.8medium

Beats Insertion of Sensitive Information into Log File

Severity
6.8medium CVSS:3.1 by elastic
Exploit likelihood
0.77% (higher than 52% of CVEs)
Published
Last changed
Assigned by
elastic
Also known as
GHSA-hj4r-2c9c-29h3GO-2023-2413

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

Product or packageVersionsReported by
Elastic Beatsfrom 7.0.0, 8.0.0 before 7.17.16, 8.11.3CVE List
github.com/elastic/beats/v7 (Go)from 7.0.0 before 7.17.16, before 7.17.16GitHub Advisory Database, Go Vulnerability Database
github.com/elastic/beats (Go)from 8.0.0 before 8.11.3, from 7.0.0 before 7.17.16GitHub Advisory Database
elastic elastic_beatsfrom 7.0.0 before 7.17.16, from 8.0.0 before 8.11.3NVD

All scores

elastic6.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Sensitive information logged in github.com/elastic/beats/v7

NVD (es)

Elastic descubrió un problema por el cual Beats y Elastic Agent registraban un evento sin procesar en sus propios registros en el nivel WARN o ERROR si fallaba la ingesta de ese evento en Elasticsearch con cualquier código de estado HTTP 4xx excepto 409 o 429. Dependiendo de la naturaleza del en caso de que Beats o Elastic Agent intentaran ingerir, esto podría dar lugar a la inserción de información confidencial o privada en los registros de Beats o Elastic Agent. Elastic lanzó 8.11.3 y 7.17.16 que evitan este problema al limitar estos tipos de registros al registro de nivel DEBUG, que está deshabilitado de forma predeterminada.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-49922 changed 2024-12-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-hj4r-2c9c-29h3 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2023-2413 changed 2026-02-04CC-BY-4.0
NVDCVE-2023-49922 changed 2026-06-17Public domain