4.9medium
Elasticsearch elasticsearch-certutil csr fails to encrypt private key
- Severity
- 4.9medium CVSS:3.1 by elastic
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- elastic
- Also known as
- GHSA-5v8f-xx9m-wj44BIT-ELASTICSEARCH-2024-23444
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
| Product or package | Versions | Reported by |
|---|---|---|
| Elastic Elasticsearch | from 7.x before 7.17.23, from 8.x before 8.13.0, from 7.0.0 before 7.17.23, from 8.0.0 before 8.13.0 | CVE List, NVD |
| org.elasticsearch:elasticsearch (Maven) | from 8.0.0-alpha1 before 8.13.0, before 7.17.23 | GitHub Advisory Database |
| elasticsearch (Bitnami) | before 7.17.23, from 8.0.0 before 8.13.0 | Bitnami Vulnerability Database |
All scores
| elastic | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
La ingeniería de Elastic descubrió que cuando se utiliza la herramienta CLI elasticsearch-certutil con la opción csr para crear nuevas solicitudes de firma de certificado, la clave privada asociada que se genera se almacena en el disco sin cifrar incluso si se pasa el parámetro --pass en la invocación del comando.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-23444 changed 2025-04-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5v8f-xx9m-wj44 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-23444 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ELASTICSEARCH-2024-23444 changed 2026-09-08 | Apache-2.0 |