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 package | Versions | Reported by |
|---|---|---|
| Elastic Elasticsearch | from 7.0.0 before 7.17.16, from 8.0.0 before 8.11.2 | CVE List, NVD |
| org.elasticsearch:elasticsearch (Maven) | before 7.17.16, from 8.0.0 before 8.11.2 | GitHub Advisory Database |
| elasticsearch (Bitnami) | from 7.0.0 before 7.17.16, from 8.0.0 before 8.11.2 | Bitnami Vulnerability Database |
All scores
| elastic | 5.2medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 5.2medium CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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
| https://discuss.elastic.co/t/elasticsearch-8-11-2-7-17-16-security-update-esa-2023-29/349179 | advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-49921 | advisory, web | |
| https://github.com/elastic/elasticsearch | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-49921 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2hjr-vmf3-xwvp changed 2024-07-31 | CC-BY-4.0 |
| NVD | CVE-2023-49921 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ELASTICSEARCH-2023-49921 changed 2026-09-08 | Apache-2.0 |