CVE-2024-23444: Elasticsearch stores private key on disk unencrypted
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.
Published Jul 31, 2024 · Updated Apr 7, 2025
Affected packages
org.elasticsearch:elasticsearch
- Ecosystem
- Maven
- Affected
- >= 8.0.0-alpha1, < 8.13.0
- Fixed in
- 8.13.0
- Check
mvn dependency:tree -Dincludes=org.elasticsearch:elasticsearch
org.elasticsearch:elasticsearch
- Ecosystem
- Maven
- Affected
- < 7.17.23
- Fixed in
- 7.17.23
- Check
mvn dependency:tree -Dincludes=org.elasticsearch:elasticsearch
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-23444
- https://discuss.elastic.co/t/elasticsearch-8-13-0-7-17-23-security-update-esa-2024-12/364157
- https://github.com/elastic/elasticsearch/pull/106105
- https://github.com/elastic/elasticsearch/pull/109834
- https://github.com/elastic/elasticsearch/commit/07296d596a1dee24730e33ad40b6726f70c6fc23
- https://github.com/elastic/elasticsearch/commit/321c4e1e6b738bf80faa41dbb9881489a4ab44e5
- https://github.com/elastic/elasticsearch/commit/bb1eddada3678257838b0590090ff9eb68acaa1b
- https://security.netapp.com/advisory/ntap-20250404-0001
- https://github.com/advisories/GHSA-5v8f-xx9m-wj44
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-52979
Elasticsearch Uncontrolled Resource Consumption Vulnerability
medium6.5May 1, 2025CVE-2024-52981
Elasticsearch Vulnerable to Stack Overflow due to a Large Recursion
medium4.9Apr 8, 2025CVE-2024-43709
Elasticsearch allocation of resources without limits or throttling leads to crash
medium6.5Jan 21, 2025CVE-2024-12539
Elasticsearch Incorrect Authorization vulnerability
medium6.0Dec 17, 2024CVE-2023-49921
Elasticsearch Insertion of Sensitive Information into Log File
medium5.2Jul 26, 2024CVE-2024-37280
Elasticsearch StackOverflow vulnerability
medium4.9Jun 13, 2024
