Description
Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs. Note that audit logging is disabled by default and needs to be explicitly enabled and even when audit logging is enabled, request bodies that could contain sensitive information are not printed to the audit log unless explicitly configured.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Elastic | Elasticsearch | 7.0.0 – < 7.17.12, 8.0.0 – < 8.9.1 | 7.17.12 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | elasticsearch | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch | >= 7.0.0, < 7.17.13 | 7.17.13 | GHSA-99pc-69q9-jxf2 |
| Maven | org.elasticsearch:elasticsearch | >= 8.0.0, < 8.9.2 | 8.9.2 | GHSA-99pc-69q9-jxf2 |
Advisories 1
- WID-SEC-2023-2276 Elasticsearch: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Sep 6, 2023