CVE-2021-29763
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 (includes Db2 Connect Server) 11.1 and 11.5 under very specific conditions, could allow a local user to keep running a procedure that could cause the system to run out of memory.and cause a denial of service. IBM X-Force ID: 202267.
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 · moderate confidenceIBM Db2 versions 11.1 and 11.5 contain a vulnerability where a local user can exploit a flaw allowing them to keep a procedure running continuously under very specific conditions, resulting in memory exhaustion and denial of service. The attack requires local access and targets the procedure execution mechanism.
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= 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
- Local
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:N/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.
-
Determine installed Db2 versionRun command: `db2level` or query `SELECT SERVICE_LEVEL FROM SYSIBMADM.DBMCONFIG`Affected if Version is exactly 11.1 or exactly 11.5 (these are the only affected versions)
-
Identify unusually long-running procedure executionsQuery system catalog: `SELECT AGENT_ID, STMT_TEXT, ELAPSED_TIME_SEC FROM SYSIBMADM.MONITOR_ACTIVITIES WHERE ACTIVITY_STATE = 'EXECUTING' AND ELAPSED_TIME_SEC > threshold` (compare against normal baseline for your environment)Affected if Procedures remain in EXECUTING state for abnormally long durations without completing
-
Monitor Db2 process memory consumptionUse OS-level tools (top, ps, task manager) to monitor memory usage of db2sysc and related Db2 processes over timeAffected if Memory usage of Db2 processes grows continuously without stabilizing or releasing
-
Verify local database user access existsQuery `SELECT GRANTEE, AUTHIDTYPE FROM SYSCAT.DBAUTH` to identify local database users; check OS-level user membershipAffected if Untrusted local users have CONNECT privilege on any database (enables the attack vector)
You are affected only if you have Db2 version 11.1 or 11.5 AND observe procedures executing continuously with unbounded memory growth from a local database user context.
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 IBM's published patches for CVE-2021-29763. Until patched, restrict local database user privileges and monitor system memory usage for anomalous sustained consumption by Db2 processes.
Db2 11.5.9 or later (or latest 11.1 fix pack with APAR installation)
- 1. Identify current Db2 version by running: db2pd -dbptyping | head -5 or checking db2level output
- 2. Download the latest available fix pack for your Db2 edition (11.1 or 11.5) from IBM Fix Central (https://www.ibm.com/support/fixcentral/)
- 3. Stop all Db2 instances and dependencies: db2stop force (run as db2 instance owner)
- 4. Install the fix pack as the root user using: db2updpf -l <logfile>
- 5. After installation, update the database manager configuration: db2updt -d <database_name>
- 6. Restart Db2 instances: db2start
- 7. Verify the fix is applied by checking: db2level and confirming the version includes the security fix
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation6.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,312.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-29763 — 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-2021-29763 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