Sensitive Data Exposure in ibm_db

ibm_db Updated 02 Oct 2025

Summary

03/09/2020
MODERATE
Yes i
Moderate
5.0

GHSA-p77h-hv6g-fmfp: Sensitive Data Exposure in ibm_db. Affects ibm_db versions < 2.6.0. Fixed in 2.6.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The ibm_db package is an npm package used for connecting to IBM Db2 databases from Node.js applications. It provides an interface to interact with the database, execute SQL statements, and retrieve results. The package is widely used in applications that require connectivity to IBM Db2 databases. However, versions prior to 2.6.0 are vulnerable to Sensitive Data Exposure.

Vulnerability Detail

The vulnerability in ibm_db versions prior to 2.6.0 is related to the package printing database credentials in plaintext in logs while in debug mode. This means that sensitive information, such as usernames and passwords, could be exposed to anyone with access to the logs. This vulnerability poses a moderate risk as it could lead to unauthorized access to the database and potential data breaches.

How To Fix

Minimum fixed version

2.6.0

This is the first release that contains the fix.

npm install ibm_db@2.6.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the ibm_db package versions prior to 2.6.0 are vulnerable to sensitive data exposure. It is crucial to upgrade to the fixed version and ensure that sensitive information is not logged in plaintext in the application's logs. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ibm_db →

Share this vulnerability

FAQ

ibm_db is an npm package used for connecting to IBM Db2 databases from Node.js applications. It provides an interface to interact with the database, execute SQL statements, and retrieve results.

The vulnerability in ibm_db versions prior to 2.6.0 can expose sensitive database credentials, such as usernames and passwords, in plaintext in logs. This could lead to unauthorized access to the database and potential data breaches.

To fix this vulnerability, you should upgrade to version 2.6.0 or later of the ibm_db package. Additionally, ensure that sensitive information is not logged in plaintext in the application's logs.

No, there is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for ibm_db.

How To Fix

Minimum fixed version

2.6.0

This is the first release that contains the fix.

npm install ibm_db@2.6.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback