IBM Support

Security Bulletin: DB2 Denial of Service Vulnerability in DRDA (CVE-2012-2180)

Flashes (Alerts)


Vulnerability in IBM DB2 server products could allow a specially-crafted DRDA request to cause disruption to the server.



CVE ID: CVE-2012-2180


A vulnerability in the IBM DB2 products listed below could allow an unauthenticated, remote attacker to cause a denial of service. The vulnerability exists in the Distributed Relational Database Architecture (DRDA) module that handles DRDA chaining. A malicious user with knowledge of DRDA could send a specially crafted request to a database server to cause disruptions or a crash. The vulnerability exists on all supported platforms.

The DB2 server reaction to the attack differs depending on the configuration and platform. On all platforms, with the exception of Windows 64-bit, when DB2 Trap Resiliency is enabled, the trap is sustained. Even though the trap is sustained and the DB2 server is able to continue operation, the resources consumed by the trapped thread are not released and hence, a continuous attack will eventually disable the DB2 server.

DB2 on Windows 64-bit is missing the db2sys64.pdb file which causes Trap Resiliency to fail to sustain the trap.

CVSS Base Score: 4.3
CVSS Temporal Score: See for the current score
CVSS Environmental Score*: Undefined
CVSS String: (AV:N/AC:M/Au:N/C:N/I:N/A:P)

DB2 Version 9.7 GA through to Version 9.7 Fix Pack 5.
DB2 Version 9.8 GA through to Version 9.8 Fix Pack 4.


The following IBM V9.7 editions running on AIX, Linux, HP, Solaris and Windows:

IBM® DB2® 9.7 Express Edition
IBM® DB2® 9.7 Workgroup Server Edition
IBM® DB2® 9.7 Enterprise Server Edition
IBM® DB2® 9.7 Advanced Enterprise Server Edition
IBM® DB2® Connect™ 9.7 Application Server Edition
IBM® DB2® Connect™ 9.7 Enterprise Edition
IBM® DB2® Connect™ 9.7 Unlimited Edition for System i®
IBM® DB2® Connect™ 9.7 Unlimited Edition for System z®

The following IBM V9.8 editions running on AIX and Linux:

IBM® DB2® pureScale™ Feature for Enterprise Server Edition

Note: The DB2 Connect products mentioned are affected only if a local database has been created.

There is no workaround nor mitigation. A fix is available for download and we recommend you apply the appropriate fix. The vulnerability is not applicable to DB2 V9.1, V9.5 and V10.1

The fix for this vulnerability is available for download for DB2 release V9.7 Fix Pack 6 and V9.8 Fix Pack 5.

In general, DB2 fix packs can be downloaded from the following site: You may download the specific fix pack you need from the following:

ReleaseAPARDownload URL
V9.7 FP6IC82234
V9.8 FP5IC82367

· Complete CVSS v2 Guide
· On-line Calculator V2
· X-Force Vulnerability Database
· CVE-2012-2180

*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 Flash.

Note: 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

Note: IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Connectivity - DRDA","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.8;9.7","Edition":"Advanced Enterprise Server;Enterprise Server;Express;Personal;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSEPDU","label":"Db2 Connect"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 September 2022