Fix (APAR): PH42489 Status: Fix Release: 21.0.0.9 Operating System: AIX,HP-UX,IBM i,Linux,Solaris,Windows,OS X,z/OS Supersedes Fixes: CMVC Defect: Byte size of APAR: 1575161 Date: 20220113 Abstract: WebSphere Application Server Liberty is vulnerable to LDAP Injection (CVE-2021-39031 CVSS 7.5) Description/symptom of problem: PH42489 resolves the following problem: WebSphere Application Server Liberty is vulnerable to LDAP Injection (CVE-2021-39031 CVSS 7.5) Review: https://www-01.ibm.com/support/docview.wss?uid=ibm10961580 for installing into a Docker application image based on Liberty images. Directions to apply fix: 1. Open a console and direct it to the location of your iFix jar 2. Run the command "java -jar 21009-wlp-archive-IFPH42489.jar". The following launch options are available for the jar: --installLocation [LibertyRootDir] by default the jar will look for a "wlp" directory in its current location. If your WebSphere Liberty install location is different to "wlp" and/or is not in the same directory as the jar then you can use this option to change where the jar will patch. [LibertyRootDir] can either be relative to the location of the jar or an absolute file path. --suppressInfo hides all messages other than confirming the patch has completed or error messages. 3. Stop your WebSphere Liberty server(s). 4. When you next start your WebSphere Liberty server(s), the fix will become active in your runtime. Directions to remove fix: 1. Stop your WebSphere Liberty server(s). 2. You will need to delete the following files if they exist (file locations are relative to your WebSphere Liberty install root): - lib/com.ibm.ws.security.wim.adapter.ldap_1.0.56.cl210920220113-1606.jar - lib/fixes/21009-wlp-archive-IFPH42489_21.0.0009.20220113_2035.xml - lib/fixes/21009-wlp-archive-IFPH42489_21.0.0009.20220113_2035.lpmf 3. When you next start your WebSphere Liberty server(s), the fix will become inactive in your runtime. Directions to re-apply fix: 1. Follow the instructions to apply the fix. Additional Information: