Vulnerability · Published Jul 31, 2024 · Assigned by elastic
CVE-2024-23444Elasticsearch elasticsearch-certutil csr fails to encrypt private key
Medium 4.9
In plain English
A medium-severity security flaw in Elasticsearch from Elastic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch | 8.13.0 | GHSA-5v8f-xx9m-wj44 |
| Maven | org.elasticsearch:elasticsearch | 7.17.23 | GHSA-5v8f-xx9m-wj44 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Elasticsearch | 7.x – before 7.17.238.x – before 8.13.0 |
Weakness: CWE-311 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N