Elasticsearch elasticsearch-certutil csr fails to encrypt private key
Elasticsearch
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.elasticsearch:elasticsearch Maven |
|
|
Original description
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.
From the CVE record · elastic
References
- discuss.elastic.co/t/elasticsearch-8-13-0-7-17-23-security-update-esa-2024-12/364157Vendor advisory
- security.netapp.com/advisory/ntap-20250404-0001
- github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23444.json
- nvd.nist.gov/vuln/detail/CVE-2024-23444
- github.com/elastic/elasticsearch/pull/106105
- github.com/elastic/elasticsearch/pull/109834
- github.com/elastic/elasticsearch/commit/07296d596a1dee24730e33ad40b6726f70c6fc23
- github.com/elastic/elasticsearch/commit/321c4e1e6b738bf80faa41dbb9881489a4ab44e5
- github.com/elastic/elasticsearch/commit/bb1eddada3678257838b0590090ff9eb68acaa1b
- github.com/elastic/elasticsearch
- security.netapp.com/advisory/ntap-20250404-0001