IBM Support

Security Bulletin: Apache Log4j vulnerability impacts IBM Sterling Global Mailbox (CVE-2021-45046)

Security Bulletin


IBM Sterling Global Mailbox is vulnerable to arbitrary code execution due to Apache Log4j (CVE-2021-45046) and is used for logging. Mitigation steps detailed below.

Vulnerability Details

CVEID:   CVE-2021-45046
DESCRIPTION:   Apache Log4j could result in remote code execution, caused by an incomplete fix of CVE-2021-44228 in certain non-default configurations. When the logging configuration uses a non-default Pattern Layout with a Context Lookup, an attacker with control over Thread Context Map (MDC) input data can craft malicious input data using a JNDI Lookup pattern to leak sensitive information and remote code execution in some environments and local code execution in all environments.
CVSS Base score: 9
CVSS Temporal Score: See: for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H)

Affected Products and Versions

Affected Product(s)Version(s)
IBM Sterling Global Mailbox (GM)6.0.3 to


Product Name/Version

Remediation & Fix

IBM Sterling Global Mailbox 6.0.3-

Download IBM Sterling B2B Integrator IIM version, ,, or on Fix Central

Then apply the fix for global mailbox

Workarounds and Mitigations

IBM strongly recommends addressing the vulnerability now by executing these mitigation steps:


Steps to remove JndiLookup.class from log4j-core*.jar :

 1) Navigate to prerequisite install location -


 2) Issue following command - 

   zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class

 3) Repeat the step #2 for following two locations -

   Navigate to following two locations and run following command

   zip -q -d log4j-core-*.jar org/apache/logging/log4j/core/lookup/JndiLookup.class




Steps to update the GM war file :

 1) Stop GM (mailboxui) Liberty server

 2) Navigate to <SI_INSTALL_LOCATION>/wlp/usr/servers/mailboxui/apps/

 3) Take backup of existing file

 4) Create a temporary folder and copy this war file to this folder. eg. /opt/temp.

 5) Navigate to this temp folder -   cd /opt/temp

 6) Execute following set of commands -

i) <b2biinstall-Jdk-location>/bin/jar -xvf WEB-INF/lib/log4j-core-2.10.0.jar

ii) find ./ -type f -name "log4j-core-*.jar" -exec zip -q -d "{}" org/apache/logging/log4j/core/lookup/JndiLookup.class \;


iii) <b2biinstall-Jdk-location>/bin/jar -uvf WEB-INF/lib/log4j-core-2.10.0.jar


 7) Copy this newly created file to /<SI_INSTALL_LOCATIONA>/wlp/usr/servers/mailboxui/apps/

 8) Start GM (mailbox) Liberty server

Get Notified about Future Security Bulletins




Change History

23 Dec 2021: Initial Publication

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.


Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.

Document Location


[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS6EA4","label":"IBM Global High Availability Mailbox"},"Component":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF002","label":"AIX"},{"code":"PF033","label":"Windows"}],"Version":"603x to 61x","Edition":""}]

Document Information

Modified date:
07 February 2022