Security mailing lists by PureSourceCode

CVE-2023-49921

MEDIUM 6.5CVSS 3.1

Elasticsearch Insertion of Sensitive Information into Log File

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.

Published
26 Jul 2024
Last modified
17 Jun 2026
Assigned by
security@elastic.co
NVD status
Modified
Weakness
CWE-532
Also known as
BIT-elasticsearch-2023-49921GHSA-2hjr-vmf3-xwvp
Sources
NVDJSONOSV GHSA-2hjr-vmf3-xwvpJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub 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 nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD security@elastic.co (Secondary) CVSS 3.1 MEDIUM 5.2 CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.2 CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD elastic elasticsearch
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.17.16 7.17.16
NVD elastic elasticsearch
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.11.2 8.11.2
OSV Maven org.elasticsearch:elasticsearch < 7.17.16 7.17.16
OSV Maven org.elasticsearch:elasticsearch >= 8.0.0, < 8.11.2 8.11.2

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Jul 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.