diff --git a/files/nolog4j0day.options b/files/nolog4j0day.options new file mode 100644 index 0000000..5af9281 --- /dev/null +++ b/files/nolog4j0day.options @@ -0,0 +1 @@ +-Dlog4j2.formatMsgNoLookups=true diff --git a/tasks/elastic.yml b/tasks/elastic.yml index ff82c73..e79327a 100644 --- a/tasks/elastic.yml +++ b/tasks/elastic.yml @@ -29,6 +29,11 @@ - 'http.max_content_length: 400mb' - 'indices.query.bool.max_clause_count: 2000' +- name: "elastic | Kopiere Fix für CVE-2021-44228" + copy: + src: nolog4j0day.options + dest: /etc/elasticsearch/jvm.options.d/nolog4j0day.options + - name: "elastic | Starte Dienst" systemd: name: elasticsearch