# Is Elasticsearch affected by CVE-2021-45046 - a second vulnerability in log4j?

**URL:** <https://discuss.elastic.co/t/is-elasticsearch-affected-by-cve-2021-45046-a-second-vulnerability-in-log4j/291885>\
**Category:** Elasticsearch\
**Created:** [December 15, 2021, 1:46am UTC](https://discuss.elastic.co/t/is-elasticsearch-affected-by-cve-2021-45046-a-second-vulnerability-in-log4j/291885 "2021-12-15T01:46:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smlx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlx/32/98961_2.png) [@smlx](https://discuss.elastic.co/u/smlx)\
**Post date:** [December 15, 2021, 1:46am UTC](https://discuss.elastic.co/t/is-elasticsearch-affected-by-cve-2021-45046-a-second-vulnerability-in-log4j/291885/1 "2021-12-15T01:46:18Z")

</div>

As per the title there is a newer vulnerability in log4j: CVE-2021-45046  
[https://logging.apache.org/log4j/2.x/security.html](https://logging.apache.org/log4j/2.x/security.html)

As the current log4j announcement doesn't specifically mention this CVE except in the context of Logstash, could anyone confirm whether or not Elasticsearch is vulnerable?

---

<div class="post-metadata">

**Author:** ![KidFashion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kidfashion/32/49135_2.png) [@KidFashion](https://discuss.elastic.co/u/KidFashion)\
**Post date:** [December 15, 2021, 4:56pm UTC](https://discuss.elastic.co/t/is-elasticsearch-affected-by-cve-2021-45046-a-second-vulnerability-in-log4j/291885/2 "2021-12-15T16:56:32Z")

</div>

Actually it seems they updated the [security announcement](https://discuss.elastic.co/t/apache-log4j2-remote-code-execution-rce-vulnerability-cve-2021-44228-esa-2021-31/291476) to explicitely cover this new vulnerability:

**[Update 15 December]** A further vulnerability (CVE-2021-45046) was disclosed on December 14th after it was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. **Our guidance for Elasticsearch, APM Java Agent, and Logstash are unchanged by this new vulnerability.**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 12, 2022, 4:57pm UTC](https://discuss.elastic.co/t/is-elasticsearch-affected-by-cve-2021-45046-a-second-vulnerability-in-log4j/291885/3 "2022-01-12T16:57:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
