Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Elasticsearch to 7.16.1 (and mitigate CVE-2021-44228) #952

Merged
merged 6 commits into from
Dec 14, 2021

Conversation

cmark
Copy link
Member

@cmark cmark commented Dec 14, 2021

This PR upgrade Elasticsearch to the latest 7.16.1 version, which comes with all security fixes for CVE-2021-44228 vulnerability and also makes sure that neither the embedded nor the external Elasticsearch uses the compromised log4j2 library's JNDI lookup feature.

While neither Snow Owl nor the underlying Elasticsearch is affected by
the CVE-2021-44228 security vulnerability, to mitigate any future risk
around this Snow Owl will now require a minimum of 7.16.1 Elasticsearch
version in both embedded and external modes.
Both the `log4j2.formatMsgNoLookups` system property is ensured and an
altered version of the `elasticsearch-log4j.jar` is used that removes
the JNDI lookup feature from log4j2.
@cmark cmark requested a review from nagyo December 14, 2021 10:33
@cmark cmark self-assigned this Dec 14, 2021
Copy link
Member

@nagyo nagyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cmark cmark merged commit c0f4aba into 8.x Dec 14, 2021
@cmark cmark deleted the upgrade/elasticsearch-7.16.1 branch December 14, 2021 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants