Workaround für Security-Lücke

This commit is contained in:
phil 2021-12-11 18:25:52 +01:00
parent 5353c6ee06
commit 65d65c1193
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1 @@
-Dlog4j2.formatMsgNoLookups=true

View file

@ -29,6 +29,11 @@
- 'http.max_content_length: 400mb' - 'http.max_content_length: 400mb'
- 'indices.query.bool.max_clause_count: 2000' - '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" - name: "elastic | Starte Dienst"
systemd: systemd:
name: elasticsearch name: elasticsearch