CVE-2023-31417
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.
How to fix
- org.elasticsearch:elasticsearch7.17.13, 8.9.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| elastic elasticsearch | 7.0.0 ≤ v ≤ 7.17.12, 8.0.0 ≤ v ≤ 8.9.1 | — |
| org.elasticsearch:elasticsearchMaven | 7.0.0 ≤ v < 7.17.13, 8.0.0 ≤ v < 8.9.2 | 7.17.13, 8.9.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.