GHSA-3xc7-xg67-pw99: Sequelize cli Sensitive Data Exposure Vulnerability

LOW
CVSS 3.5
CWE-532
Published
Advisory Summary

GHSA-3xc7-xg67-pw99 is a LOW (CVSS 3.5) sensitive data exposure vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Sequelize cli libraries in the npm ecosystem. The issue involves sensitive data exposure in sequelize-cli. Remediation is available in the latest vendor maintenance releases.

GHSA-3xc7-xg67-pw99 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3xc7-xg67-pw99
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Sequelize cli
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 3.5

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

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

How to Fix GHSA-3xc7-xg67-pw99

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

sequelize-cli fixed: Latest secure release
npm install sequelize-cli@Latest secure release
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 sequelize-cli

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-3xc7-xg67-pw99, inspect your project dependencies using npm:

npm ls sequelize-cli

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

Note: The npm ls sequelize-cli 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 CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Sequelize cli, 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 `sequelize-cli` prior to 5.5.0 are vulnerable to Sensitive Data Exposure. The function `filteredURL()` does not properly sanitize the `config.password` value which may cause passwords with special characters to be logged in plain text. ## Recommendation Upgrade to version 5.5.0 or later.

GHSA-3xc7-xg67-pw99 Affected Sequelize cli Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
sequelize-cli
npm
≤ 5.4.0

References

Frequently Asked Questions

What is GHSA-3xc7-xg67-pw99?
GHSA-3xc7-xg67-pw99 is a security vulnerability in Sequelize cli involving Sensitive Data Exposure in sequelize-cli under CWE-532: Insertion of Sensitive Information into Log File.
Which Sequelize cli versions are affected?
Affected versions include releases prior to current release patches across affected packages: sequelize-cli.
What version fixes GHSA-3xc7-xg67-pw99?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is sequelize-cli affected?
Yes, sequelize-cli is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-3xc7-xg67-pw99?
GHSA-3xc7-xg67-pw99 has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-3xc7-xg67-pw99?
GHSA-3xc7-xg67-pw99 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check npm dependencies for GHSA-3xc7-xg67-pw99?
Run the dependency tree command: 'npm ls sequelize-cli'. 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-3xc7-xg67-pw99",
  "modified" : "2021-08-04T20:54:45Z",
  "published" : "2019-06-05T20:43:10Z",
  "aliases" : [ ],
  "summary" : "Sensitive Data Exposure in sequelize-cli",
  "details" : "Versions of `sequelize-cli` prior to 5.5.0 are vulnerable to Sensitive Data Exposure. The function `filteredURL()` does not properly sanitize the `config.password` value which may cause passwords with special characters to be logged in plain text.\n\n\n## Recommendation\n\nUpgrade to version 5.5.0 or later.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "sequelize-cli"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "5.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sequelize/cli/issues/172"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sequelize/cli/pull/722"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FelixLC/cli/commit/da59652c061a798282e18efad0b6d0afefa15465"
  }, {
    "type" : "WEB",
    "url" : "https://snyk.io/vuln/SNYK-JS-SEQUELIZECLI-174320"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/825"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-06-05T20:42:54Z",
    "nvd_published_at" : null
  }
}