CVE-2023-49921
JSON

5.2medium

Elasticsearch Insertion of Sensitive Information into Log File

Severity
5.2medium CVSS:3.1 by elastic
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
elastic
Also known as
GHSA-2hjr-vmf3-xwvpBIT-ELASTICSEARCH-2023-49921

Description

An issue was discovered by Elastic whereby Watcher search input logged the search query results on DEBUG log level. This could lead to raw contents of documents stored in Elasticsearch to be printed in logs. Elastic has released 8.11.2 and 7.17.16 that resolves this issue by removing this excessive logging. This issue only affects users that use Watcher and have a Watch defined that uses the search input and additionally have set the search input’s logger to DEBUG or finer, for example using: org.elasticsearch.xpack.watcher.input.search, org.elasticsearch.xpack.watcher.input, org.elasticsearch.xpack.watcher, or wider, since the loggers are hierarchical.

Affected

Product or packageVersionsReported by
Elastic Elasticsearchfrom 7.0.0 before 7.17.16, from 8.0.0 before 8.11.2CVE List, NVD
org.elasticsearch:elasticsearch (Maven)before 7.17.16, from 8.0.0 before 8.11.2GitHub Advisory Database
elasticsearch (Bitnami)from 7.0.0 before 7.17.16, from 8.0.0 before 8.11.2Bitnami Vulnerability Database

All scores

elastic5.2medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
GitHub5.2medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

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 Watcher search input logged the search query results on DEBUG log level. This could lead to raw contents of documents stored in Elasticsearch to be printed in logs. Elastic has released 8.11.2 and 7.17.16 that resolves this issue by removing this excessive logging. This issue only affects users that use Watcher and have a Watch defined that uses the search input and additionally have set the search input’s logger to DEBUG or finer, for example using: org.elasticsearch.xpack.watcher.input.search, org.elasticsearch.xpack.watcher.input, org.elasticsearch.xpack.watcher, or wider, since the loggers are hierarchical.

NVD (es)

Elastic descubrió un problema por el cual la entrada de búsqueda de Watcher registraba los resultados de la consulta de búsqueda en el nivel de registro DEBUG. Esto podría provocar que el contenido sin procesar de los documentos almacenados en Elasticsearch se imprima en registros. Elastic lanzó las versiones 8.11.2 y 7.17.16 que resuelven este problema eliminando este registro excesivo. Este problema solo afecta a los usuarios que usan Watcher y tienen un Watch definido que usa la entrada de búsqueda y además han configurado el registrador de la entrada de búsqueda en DEBUG o más fino, por ejemplo usando: org.elasticsearch.xpack.watcher.input.search, org.elasticsearch .xpack.watcher.input, org.elasticsearch.xpack.watcher o más amplio, ya que los registradores son jerárquicos.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-49921 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-2hjr-vmf3-xwvp changed 2024-07-31CC-BY-4.0
NVDCVE-2023-49921 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ELASTICSEARCH-2023-49921 changed 2026-09-08Apache-2.0