When a DB2 instance is created a "fenced" user is specified to run external stored procedures/user defined functions. Db2 could allow malicious user with access to the Db2 instance owner account to leverage a fenced execution process to execute arbitrary code as root. This vulnerability exists even if fenced stored procedures are not used.
DESCRIPTION: IBM DB2 for Linux, UNIX and Windows (includes DB2 Connect Server) could allow malicious user with access to the DB2 instance account to leverage a fenced execution process to execute arbitrary code as root.
CVSS Base Score: 6.7
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/156567 for the current score
CVSS Environmental Score*: Undefined
CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
Affected Products and Versions
All fix pack levels of IBM Db2 V9.7, V10.1, V10.5, and V11.1 editions on all platforms except Windows are affected. Windows is not affected.
The recommended solution is to apply the appropriate fix for this vulnerability.
Customers running any vulnerable fixpack level of an affected Program, V9.7, V10.1, V10.5, and V11.1, can download the special build containing the interim fix for this issue from Fix Central. These special builds are available based on the most recent fixpack level for each impacted release: DB2 V9.7 FP11, V10.1 FP6, V10.5 FP10 and V126.96.36.199 iFix001. They can be applied to any affected fixpack level of the appropriate release to remediate this vulnerability.
|Release||Fixed in fix pack||APAR||Download URL|
|V9.7||TBD||IT27205||Special Build for V9.7 FP11:|
|V10.1||TBD||IT27204||Special Build for V10.1 FP6:|
|V10.5||TBD||IT27192||Special Build for V10.5 FP10:
|V11.1||TBD||IT27203||Special Build for V188.8.131.52 iFix001:|
Workarounds and Mitigations
Get Notified about Future Security Bulletins
The vulnerability was reported to IBM by Rich Mirch.
June 27, 2019: Original Version Published.
July 18, 2019: The images on Unix-type platforms need to be repackaged due to problem with db2iupdt tool. Disabled links until the new repackaged images are available.
July 24, 2019: Added links for repackaged V11.1, V10.1 and V9.7 images. Remaining links for V10.5 platforms and V9.7 linuxia32 will be added as soon as the repackaged images are available.
July 26, 2019: Added links to V9.7 linuxia32 image and remaining 10.5 images.
August 22, 2019: Updated repackaged V10.1 AIX image link.
*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.
According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES ""AS IS"" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
22 August 2019