Good day.
The log4j version currently used is working on modern operating systems icluding CentOS 9. The well-known vulnerabilities cannot be exploited by WCS design. So current log4j version can be surely used in production.
There is the ticket WCS-2521 to upgrade log4j to 2.x version, but it may take a much time.