IBM Support

Security Bulletin: IBM Data Server Driver for JDBC and SQLJ is affected by a 3RD PARTY Unsafe deserialization

Security Bulletin


Summary

Unsafe deserialization in DB2 JDBC driver

Vulnerability Details

CVEID:   CVE-2017-1677
DESCRIPTION:   IBM Data Server Driver for JDBC and SQLJ (IBM DB2 for Linux, UNIX and Windows 9.7, 10.1, 10.5, and 11.1) deserializes the contents of /tmp/connlicj.bin which leads to object injection and potentially arbitrary code execution depending on the classpath. IBM X-Force ID: 133999.
CVSS Base score: 7.4
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/133999 for the current score.
CVSS Vector: (CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)

Affected Products and Versions

DB2Connect 9.5

DB2Connect 9.7

DB2Connect 10.1

DB2Connect 10.5

DB2Connect 11.1


Remediation/Fixes

Product
VRMF
APAR
Remediation / First Fix
DB2ConnectV11.1 M2FP2 SBIT23592JCC version 3.72.41/4.23.48
See workaround or contact support
DB2ConnectV10.5 FP9 SBIT23591JCC version 3.69.75/4.19.76
See workaround or contact support
DB2ConnectV10.1 FP6 SBIT23590JCC version 3.65.138/4.15.147
See workaround or contact support
DB2ConnectV9.7 FP11 SBIT23575JCC version 3.64.142/4.14.147
See workaround or contact support
DB2ConnectV9.5 FP10 SBIT23575JCC version 3.64.142/4.14.147
See workaround or contact support

Workarounds and Mitigations

Workaround is to Set db2.jcc.outputDirectory property to a secure location so that driver will write the cache file to the configured location which can not accessed without proper authentication.
Or use the above Special build drivers.

Get Notified about Future Security Bulletins

References

Off

Change History

11 Dec 2019: 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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"Programming Interface - JCC - Type 4","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.7; 9.5; 10.1; 10.5; 11.1","Edition":"Advanced Enterprise Server; Advanced Workgroup Server; Enterprise Server; Express; Express-C; Personal; Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 December 2019

UID

ibm11128087