Db2Application · Ibm

CVE-2024-35152

MEDIUM · 6.5 CVSS v3.1 Published 2024-08-14
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click

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 · unedited
IBM Db2 for Linux, UNIX and Windows (includes Db2 Connect Server) 11.5 could allow an authenticated user to cause a denial of service with a specially crafted query due to improper memory allocation. IBM X-Force ID: 292639.

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 confidence

IBM Db2 version 11.5 contains a vulnerability where an authenticated user can craft a malicious query that triggers improper memory allocation, leading to a denial of service condition. The vulnerability requires the attacker to have valid database credentials to execute the specially crafted query.

MitigationApply the IBM Db2 fix pack or patch for CVE-2024-35152. As an interim control, restrict database query privileges and monitor for unusual query patterns from authenticated users.

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
Db2Application
Affected:= 11.5.8= 11.5.9

CVSS 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 checks

Work through these to decide whether this CVE applies to you.

  1. Check installed IBM Db2 version
    Run 'db2pd -db <database_name> -version' or 'db2level' command to retrieve the installed Db2 version number
    Affected if The version shown is exactly 11.5.8 or 11.5.9 (exact match)
  2. Confirm Db2 11.5 installation
    Verify that the product is IBM Db2 and the major version is 11.5 by checking the version output
    Affected if The product is IBM Db2 version 11.5.x and specifically 11.5.8 or 11.5.9
  3. Check for database connect privileges
    Query system catalog tables like SYSCAT.DBAUTH or use 'db2 get authorizations' to see which users have CONNECT privilege on the database
    Affected if Any non-admin user has CONNECT privilege and can execute queries against the database

You are affected if IBM Db2 version 11.5.8 or 11.5.9 is installed AND users with database connect privileges can execute arbitrary SQL queries.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply the IBM Db2 fix pack or patch for CVE-2024-35152. As an interim control, restrict database query privileges and monitor for unusual query patterns from authenticated users.

Recommended fix Moderate confidence

IBM Db2 11.5.10 or later

  1. 1. Back up the current Db2 database before performing any upgrade.
  2. 2. Verify current Db2 version by running: db2level
  3. 3. Download IBM Db2 11.5.10 or later from IBM Fix Central (https://www.ibm.com/support/fixcentral/)
  4. 4. Stop all Db2 instances and services: db2stop force
  5. 5. Install the new version following IBM's installation documentation for your operating system
  6. 6. Update Db2 instances to the new version using db2iupdt command
  7. 7. Restart Db2 services and verify the instance is running: db2start
  8. 8. Validate the fix by running: db2level to confirm version 11.5.10 or later is installed
Caveat Review IBM Db2 11.5.10 release notes for any compatibility changes or deprecations before upgrading. Test application queries against the new version in a non-production environment first.

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Db2 Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,380
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,808.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-35152 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-35152 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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