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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Elastic | Elasticsearch | 7.x – < 7.17.23, 8.x – < 8.13.0 | 7.17.23 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | elasticsearch | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | trino +58 | 453-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch | >= 8.0.0-alpha1, < 8.13.0 | 8.13.0 | GHSA-5v8f-xx9m-wj44 |
| Maven | org.elasticsearch:elasticsearch | < 7.17.23 | 7.17.23 | GHSA-5v8f-xx9m-wj44 |
Advisories 1
- WID-SEC-2024-1739 Elasticsearch: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jul 31, 2024