MEDIUM4.9
GHSA-5v8f-xx9m-wj44
Elasticsearch stores private key on disk unencrypted
Quick fix
GHSA-5v8f-xx9m-wj44 — org.elasticsearch:elasticsearch: upgrade to the fixed version with the command below.
# pom.xml: bump <version>8.13.0</version> for org.elasticsearch:elasticsearchDetails
It was discovered by Elastic engineering that when elasticsearch-certutil CLI tool is used with the csr option in order to create a new Certificate Signing Requests, the associated private key that is generated is stored on disk unencrypted even if the `--pass` parameter is passed in the command invocation.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.elasticsearch:elasticsearch
Introduced in:
8.0.0-alpha1Fixed in: 8.13.0Fix
# pom.xml: bump <version>8.13.0</version> for org.elasticsearch:elasticsearchMaven/org.elasticsearch:elasticsearch
Introduced in:
0Fixed in: 7.17.23Fix
# pom.xml: bump <version>7.17.23</version> for org.elasticsearch:elasticsearchReferences
- https://nvd.nist.gov/vuln/detail/CVE-2024-23444[ADVISORY]
- https://github.com/elastic/elasticsearch/pull/106105[WEB]
- https://github.com/elastic/elasticsearch/pull/109834[WEB]
- https://github.com/elastic/elasticsearch/commit/07296d596a1dee24730e33ad40b6726f70c6fc23[WEB]
- https://github.com/elastic/elasticsearch/commit/321c4e1e6b738bf80faa41dbb9881489a4ab44e5[WEB]
- https://github.com/elastic/elasticsearch/commit/bb1eddada3678257838b0590090ff9eb68acaa1b[WEB]
- https://discuss.elastic.co/t/elasticsearch-8-13-0-7-17-23-security-update-esa-2024-12/364157[WEB]
- https://github.com/elastic/elasticsearch[PACKAGE]
- https://security.netapp.com/advisory/ntap-20250404-0001[WEB]