IBM Support

Security Bulletin: 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

The Db2 JDBC driver deserializes the contents of /tmp/connlicj.bin (default path, this is configurable), which leads to object injection and potentially arbitrary code execution depending on the classpath.

CVEID: CVE-2017-1677
DESCRIPTION: IBM Data Server Driver for JDBC and SQLJ deserializes the contents of /tmp/connlicj.bin which leads to object injection and potentially arbitrary code execution depending on the classpath.
CVSS Base Score: 7.4
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/133999 for the current score
CVSS Environmental Score*: Undefined
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
DB2Connect V11.1 M2FP2 SB IT23592 JCC version 3.72.41/4.23.48
See workaround or contact support
DB2Connect V10.5 FP9 SB IT23591 JCC version 3.69.75/4.19.76
See workaround or contact support
DB2Connect V10.1 FP6 SB IT23590 JCC version 3.65.138/4.15.147
See workaround or contact support
DB2Connect V9.7 FP11 SB IT23575 JCC version 3.64.142/4.14.147
See workaround or contact support
DB2Connect V9.5 FP10 SB IT23575 JCC 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

Reference

Complete CVSS v2 Guide
On-line Calculator v2

Related Information

IBM Secure Engineering Web Portal
IBM Product Security Incident Response Blog

Acknowlegement

The vulnerability was reported to IBM by Martin Strand

*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

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.


Cross reference information
Product Component Platform Version Edition
DB2 for Linux- UNIX and Windows

Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.5, 9.7, 10.1, 10.5, 11.1

Operating system(s): AIX, HP-UX, Linux, Solaris, Windows

Software edition: Advanced Enterprise Server, Advanced Workgroup Server, Enterprise Server, Express, Express-C, Personal, Workgroup Server

Reference #: 2012479

Modified date: 05 July 2018


Translate this page: