Skip to content

Instantly share code, notes, and snippets.

@ryanvgates
Created December 13, 2021 20:13
Show Gist options
  • Save ryanvgates/f444e10c5f9fc9ecdbd02da1d521fcfd to your computer and use it in GitHub Desktop.
Save ryanvgates/f444e10c5f9fc9ecdbd02da1d521fcfd to your computer and use it in GitHub Desktop.
CVE-2021-44228 - Remediation in ElasticSearch
echo "-Dlog4j2.formatMsgNoLookups=true" | \
sudo tee -a /etc/elasticsearch/jvm.options && \
sudo cat /etc/elasticsearch/jvm.options && \
sudo systemctl restart elasticsearch && \
ps aux | grep "Dlog4j2.formatMsgNoLookups"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment