Remove traces of Log4j jars with Security Vulnerabilities
The IBM Sterling B2B Integrator installation folder may have traces of Log4j 1.x or 2.x security vulnerable JAR files. These traces can be permanently removed by running the cleanup script.
About this task
Log4j JAR files, or nested Log4j JAR files inside other JAR/WAR files, may be found in all JAR/WAR files present in the installed_data, packages, and uninstall folders of the IBM Sterling B2B Integrator base installation directory. You should permanently remove all Log4j 1.x and affected Log4j 2.x JAR files (below version 2.17.2) from these folders.
You can use the cleanup script to remove the JAR files with security vulnerabilities. Scripts are included in the bin folder of the IBM Sterling B2B Integrator installation directory for all supported operating systems (Windows, AIX, and Linux).
- A minimum 5GB of free space on the box where IBM Sterling B2B Integrator is installed.
- In case of Windows, provide the full path of the temporary processing directory which has the short path. For example, C:\SI\Temp.Note: This directory is not required to run the script on other operating systems.
- PowerShell is installed on Windows.
To remove all the Log4j traces: