IBM Support

Security Bulletin: IBM Db2® Warehouse is vulnerable to denial of service and arbitrary code execution due to Apache Log4j (CVE-2021-45105 and CVE-2021-45046)

Security Bulletin


Summary

Apache Log4j open source library used by IBM® Db2® Warehouse is affected by multiple vulnerabilitiies (CVE-2021-45105 and CVE-2021-45046). This library is used by the Db2 Federation, Spark, Livy and IBM Spectrum Protect as part of its logging infrastructure. The fix includes includes Apache Log4j v2.17.0.

Vulnerability Details

CVEID:   CVE-2021-45105
DESCRIPTION:   Apache Log4j is vulnerable to a denial of service, caused by the failure to protect from uncontrolled recursion from self-referential lookups. A remote attacker with control over Thread Context Map (MDC) input data could craft malicious input data that contains a recursive lookup to cause a StackOverflowError that will terminate the process. Note: The vulnerability is also called LOG4J2-3230.
CVSS Base score: 7.5
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/215647 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

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: https://exchange.xforce.ibmcloud.com/vulnerabilities/215195 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

All mod and fix pack levels of IBM Db2 Warehouse V11.5 on all platforms are affected.


Remediation/Fixes

IBM strongly recommends addressing the vulnerability now by upgrading to the latest IBM Db2 Warehouse fixpack release containing the fix for this issue. These builds are available based on the most recent fixpack level of the V11.5.6.0 release. They can be applied to any affected fixpack level of the appropriate release to remediate this vulnerability.

ReleaseFixed in Fix Pack
For v11.5 (all mods and fix packs)
v11.5.6.0-cn3-db2wh-linux
v11.5.6.0-cn3-db2wh-ppcle
v11.5.6.0-cn3-db2wh-s390x

 

For information about how to update the fix packs above, see the following topic:

https://www.ibm.com/docs/en/db2-warehouse?topic=warehouse-updating-db2

 

Workarounds and Mitigations

None

Get Notified about Future Security Bulletins

References

Off

Change History

14 Jan 2022: 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.

Disclaimer

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

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSRU6J","label":"IBM DashDB Local"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All versions of 11.5","Edition":""}]

Document Information

Modified date:
14 January 2022

UID

ibm16541048