ADVISORIES

GitHub Advisory Database

GHSA-5v8f-xx9m-wj44

Elasticsearch stores private key on disk unencrypted

Details

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

EcosystemPackageAffected versions
Mavenorg.elasticsearch:elasticsearch
From 8.0.0-alpha1 before 8.13.0 (fixed in 8.13.0)
Mavenorg.elasticsearch:elasticsearch
All versions before 7.17.23 (fixed in 7.17.23)

References