{"cve":"CVE-2023-31417","nvd":{"published":"2023-10-26T18:15:08.500","modified":"2026-06-17T05:56:54.297","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4},"cwes":["CWE-532"],"references":["https://discuss.elastic.co/t/elasticsearch-8-9-2-and-7-17-13-security-update/342479","https://security.netapp.com/advisory/ntap-20231130-0006/","https://www.elastic.co/community/security","https://discuss.elastic.co/t/elasticsearch-8-9-2-and-7-17-13-security-update/342479","https://security.netapp.com/advisory/ntap-20231130-0006/"],"products":["elastic:elasticsearch"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-31417","score":0.00241,"percentile":0.15227,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-99pc-69q9-jxf2","url":"https://osv.dev/vulnerability/GHSA-99pc-69q9-jxf2","summary":"Elasticsearch allows insertion of sensitive information into log files when using deprecated URIs","modified":"2025-02-13T19:34:53.628006Z","packages":[{"ecosystem":"Maven","name":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":[">=7.0.0 <7.17.13"],"fixed":["7.17.13"]},{"ecosystem":"Maven","name":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":[">=8.0.0 <8.9.2"],"fixed":["8.9.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}