CVE-2022-22389
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIBM Db2 for Linux, UNIX and Windows 9.7, 10.1, 10.5, 11.1, and 11.5 is vulnerable to a denial of service as the server may terminate abnormally when executing specially crafted SQL statements by an authenticated user. IBM X-Force ID: 2219740.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIBM Db2 versions 9.7 through 11.5 on Linux, UNIX, and Windows contains a denial of service vulnerability where an authenticated user can cause the database server to terminate abnormally by executing specially crafted SQL statements. The vulnerability requires valid database credentials to exploit.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 9.7= 10.1= 10.5= 11.1= 11.5CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check if IBM Db2 is installedRun the command 'db2level' or 'db2start' from a command prompt, or check for Db2 installation directories such as /opt/ibm/db2 or C:\Program Files\IBM\DB2 on WindowsAffected if Db2 is installed on the system
-
Determine the installed Db2 versionExecute 'db2level' and locate the version number in the output. The version will appear as a release like Version 9.7, 10.1, 10.5, 11.1, or 11.5Affected if The output shows version 9.7, 10.1, 10.5, 11.1, or 11.5
-
Confirm the full version stringRun 'db2 select * from sysibm.sysversions' or check the db2diag.log for detailed version information including the fix pack levelAffected if The version falls within the 9.7 through 11.5 release family including fix packs
-
Verify database authentication is enabledCheck if database connections are allowed by reviewing dbm cfg configuration parameters like 'AUTHENTICATION' or by attempting to connect with valid credentials using 'db2 connect to <database> user <user>'Affected if The database accepts authenticated connections from users who can execute SQL statements
-
Check if SQL execution is permittedAs an authenticated user, run 'db2 -t' to enter interactive mode and verify SQL statements can be executed, or check user privileges with 'db2 get authorizations'Affected if Authenticated users have the ability to execute arbitrary SQL statements against the database
The environment is affected if IBM Db2 version 9.7, 10.1, 10.5, 11.1, or 11.5 is installed and the database accepts authenticated SQL connections, since an authenticated user can execute specially crafted SQL to cause denial of service.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply the appropriate IBM Db2 fix pack or patch for versions 9.7, 10.1, 10.5, 11.1, or 11.5 as provided by IBM. Prior to production deployment, validate the patch in a non-production environment.
IBM Db2 11.5 (latest fix pack)
- 1. Identify the current Db2 version using 'db2level' command or 'SELECT VERSION(*) FROM SYSIBM.SYSDUMMY1'
- 2. Plan maintenance window for the upgrade as it requires database downtime
- 3. Back up all databases using 'BACKUP DATABASE' command
- 4. Download the latest Db2 fix pack for your version from IBM Fix Central (https://www.ibm.com/support/fixcentral/)
- 5. Stop all Db2 instances and services
- 6. Install the fix pack using the installation wizard or silent install with response file
- 7. Restart Db2 instances and verify the upgrade with 'db2level'
- 8. Apply the fix pack to all nodes in a partitioned database environment
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-22389 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-22389 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data