GHSA-3xc7-xg67-pw99: Sequelize cli Sensitive Data Exposure Vulnerability
LOWGHSA-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
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).
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.
npm install sequelize-cli@Latest secure release
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
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?
Which Sequelize cli versions are affected?
What version fixes GHSA-3xc7-xg67-pw99?
Is sequelize-cli affected?
What is the CVSS score of GHSA-3xc7-xg67-pw99?
What CWE is associated with GHSA-3xc7-xg67-pw99?
How can I check npm dependencies for GHSA-3xc7-xg67-pw99?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}