# Elasticsearch 8.13.0/7.17.23 Security Update (ESA-2024-12)

**URL:** <https://discuss.elastic.co/t/elasticsearch-8-13-0-7-17-23-security-update-esa-2024-12/364157>\
**Category:** Security Announcements\
**Created:** [July 31, 2024, 5:12pm UTC](https://discuss.elastic.co/t/elasticsearch-8-13-0-7-17-23-security-update-esa-2024-12/364157 "2024-07-31T17:12:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Garcia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bryan_garcia/32/148179_2.png) [@Bryan\_Garcia](https://discuss.elastic.co/u/Bryan_Garcia)\
**Post date:** [July 31, 2024, 5:12pm UTC](https://discuss.elastic.co/t/elasticsearch-8-13-0-7-17-23-security-update-esa-2024-12/364157/1 "2024-07-31T17:12:52Z")

</div>

Elasticsearch elasticsearch-certutil csr fails to encrypt private key (ESA-2024-12)

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 Versions:

Elasticsearch versions before 7.17.23 and before 8.13.0

Solutions and Mitigations:

The issue is resolved in version 7.17.23 and 8.13.0

Severity: CVSSv3: 4.9(Medium) - [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N)

CVE ID: CVE-2024-23444
