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.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)0.2%top 89.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.elasticsearch:elasticsearch8.13.0GHSA-5v8f-xx9m-wj44
Mavenorg.elasticsearch:elasticsearch7.17.23GHSA-5v8f-xx9m-wj44

Affected products (as reported)

VendorProductVersions
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

References