CVE-2024-23444
Elasticsearch stores private key on disk unencrypted
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | < 7.17.23>= 8.0.0-alpha1, < 8.13.0 | 7.17.23, 8.13.0 |
Blast radius
62% of the dependent artifacts (2,838) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 31,239 |
| 2 hops | 63,553 |
| 3 hops | 39,566 |
| 4 hops | 31,523 |
| 5 hops | 9,981 |
| 6 hops | 3,603 |
Most used dependents
- com.atlassian.confluence » confluence724 usages
- org.elasticsearch.client » elasticsearch-rest-high-level-client684 usages
- org.apache.camel.kafkaconnector » camel-kafka-connector616 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.elasticsearch.client » transport312 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.springframework.boot » spring-boot-starter-data-elasticsearch193 usages
- com.atlassian.confluence » confluence-test-support158 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- com.atlassian.confluence » confluence-webdriver-support143 usages
- org.springframework.data » spring-data-elasticsearch126 usages
- com.atlassian.confluence » atlassian-confluence-pageobjects119 usages
- org.elasticsearch.plugin » transport-netty4-client116 usages
- io.searchbox » jest114 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-23444 | nvd.nist.gov |
| Package | elastic/elasticsearch | github.com |
| Web | elastic/elasticsearch pull request #106105 | github.com |
| Web | elastic/elasticsearch pull request #109834 | github.com |
| Web | elastic/elasticsearch commit 07296d5 | github.com |
| Web | elastic/elasticsearch commit 321c4e1 | github.com |
| Web | elastic/elasticsearch commit bb1edda | github.com |
| Web | t/elasticsearch-8-13-0-7-17-23-security-update-esa-2024-12/364157 | discuss.elastic.co |
| Web | advisory/ntap-20250404-0001 | security.netapp.com |
