Unencrypted Private Keys Generated by elasticsearch-certutil CLI Tool
CVE-2024-23444
Key Information:
- Vendor
Elastic
- Status
- CVE ID
- CVE ID:
- CVE-2024-23444
- Vendor
- CVE Published:
- 31 July 2024
- Fixed in
- Fixed in:
- 7.17.23, 8.13.0
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Install the Elasticsearch release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Elasticsearch. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.5).
What is CVE-2024-23444?
A security flaw was identified in the elasticsearch-certutil CLI tool, specifically when utilizing the csr option to generate new Certificate Signing Requests. The vulnerability arises as the corresponding private key is saved unencrypted on disk, exposing it to potential unauthorized access, even in cases where the --pass parameter is included in the command. This oversight may lead to unauthorized use of sensitive data, posing significant risks to security.
References
More Elastic Vulnerabilities
Input Validation Flaw in Kibana
Cross-site Scripting Vulnerability in Vega by Elastic
Privilege Escalation in Elastic Cloud Enterprise
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction