You can use this with a little wrapper as a local check for linux and windoof:
logpresso/CVE-2021-44228-Scanner: Vulnerability scanner and mitigation patch for Log4j2 CVE-2021-44228 (github.com)