GHSA-p77h-hv6g-fmfp: Ibm db Sensitive Data Exposure Vulnerability

MODERATE
CVSS 5.0
Published
Advisory Summary

GHSA-p77h-hv6g-fmfp is a MODERATE (CVSS 5.0) sensitive data exposure vulnerability (General Security Weakness) affecting Ibm db libraries in the npm ecosystem. The issue involves sensitive data exposure in ibm_db. Remediation is available by upgrading affected packages to version 2.6.0.

GHSA-p77h-hv6g-fmfp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-p77h-hv6g-fmfp
Severity MODERATE
CVSS v3.1 Base Score 5.0
CWE Classification General Security Weakness
Affected Product Ibm db
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-p77h-hv6g-fmfp

To remediate this vulnerability, upgrade all affected Ibm db dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ibm_db fixed: 2.6.0
npm install ibm_db@2.6.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls ibm_db

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-p77h-hv6g-fmfp, inspect your project dependencies using npm:

npm ls ibm_db

Analyze the terminal output to locate any version of Ibm db in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.0), your application is affected.

Note: The npm ls ibm_db command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Ibm db, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Versions of `ibm_db` prior to 2.6.0 are vulnerable to Sensitive Data Exposure. The package printed database credentials in plaintext in logs while in debug mode. ## Recommendation Upgrade to version 2.6.0 or later and ensure sensitive information was not logged.

GHSA-p77h-hv6g-fmfp Affected Ibm db Versions

1 component(s)
Fixed Versions:
2.6.0
Product / Package Ecosystem Affected Versions Fixed Version
ibm_db
npm
< 2.6.0
2.6.0

References

Frequently Asked Questions

What is GHSA-p77h-hv6g-fmfp?
GHSA-p77h-hv6g-fmfp is a security vulnerability in Ibm db involving Sensitive Data Exposure in ibm_db under General Security Weakness.
Which Ibm db versions are affected?
Affected versions include releases prior to 2.6.0 across affected packages: ibm_db.
What version fixes GHSA-p77h-hv6g-fmfp?
Upgrading to 2.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ibm_db affected?
Yes, ibm_db is affected in releases prior to 2.6.0. Upgrade your dependency to 2.6.0 or later.
What is the CVSS score of GHSA-p77h-hv6g-fmfp?
GHSA-p77h-hv6g-fmfp has a CVSS v3.1 base score of 5.0 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-p77h-hv6g-fmfp?
GHSA-p77h-hv6g-fmfp is classified under General Security Weakness.
How can I check npm dependencies for GHSA-p77h-hv6g-fmfp?
Run the dependency tree command: 'npm ls ibm_db'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p77h-hv6g-fmfp",
  "modified" : "2021-09-29T18:49:03Z",
  "published" : "2020-09-03T20:43:16Z",
  "aliases" : [ ],
  "summary" : "Sensitive Data Exposure in ibm_db",
  "details" : "Versions of `ibm_db` prior to 2.6.0 are vulnerable to Sensitive Data Exposure. The package printed database credentials in plaintext in logs while in debug mode.\n\n\n## Recommendation\n\nUpgrade to version 2.6.0 or later and ensure sensitive information was not logged.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "ibm_db"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ibmdb/node-ibm_db/issues/563"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ibmdb/node-ibm_db/commit/526c88b5eedc605274def65405279f6708d91ce8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ibmdb/node-ibm_db"
  }, {
    "type" : "WEB",
    "url" : "https://snyk.io/vuln/SNYK-JS-IBMDB-459762"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/1185"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T18:50:21Z",
    "nvd_published_at" : null
  }
}