One great thing about Linux and the open source community is that as soon as a vulnerability is detected, developers are hard at work releasing tools to mitigate the problem. Such is the case with the Log4j vulnerability.
Source: LXer – Check for Log4j vulnerabilities with this simple-to-use script