On December 9, 2021, the following vulnerability in the Apache Log4j Java logging library affecting all Log4j versions prior to 2.15.0 was disclosed:
1. Navigate to the following file path: /etc/systemd/system/
2. Open up the tomcat.service file in an editor (vi/nano)3. Add the following line to the JAVA_OPT: -Dlog4j2.formatMsgNoLookups=true
From:
To:
4. Restart tomcat service by running the following command:
systemctl restart tomcat
5. Full end to end can be tested after restarting the service
Note: A patch will be released to permanently address the vulnerability.