Elasticsearch elasticsearch-certutil csr fails to encrypt private key (Elastic Elasticsearch)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- elastic
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-311 — Missing Encryption of Sensitive Data
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | elastic |
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | NVD · security@elastic.co (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-5v8f-xx9m-wj44 — Elasticsearch stores private key on disk unencrypted
European references
- ENISA EUVD · EUVD-2024-2271
- GCVE · GCVE-0-2024-23444
CERT-FR advisories
- CERTFR-2024-AVI-0640 — Vulnérabilité dans Elastic Elasticsearch · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*≥ 7.0.0 < 7.17.23cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.13.0
Affected products
| Product | Versions |
|---|---|
| Elastic · Elasticsearch | affected 7.x < 7.17.23 ; affected 8.x < 8.13.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |