GHSA-r3vq-92c6-3mqf: Duplicate advisory Sequelize - Unsafe Fall-through Vulnerability
HIGHGHSA-r3vq-92c6-3mqf is a HIGH (CVSS 8.8) sequelize - unsafe fall-through vulnerability (CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')) affecting Duplicate advisory libraries in the npm ecosystem. The issue involves sequelize - unsafe fall-through in getwhereconditions. Remediation is available by upgrading affected packages to version 7.0.0-alpha.20.
GHSA-r3vq-92c6-3mqf at a Glance
Security Impact
CVSS: 8.8
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:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-r3vq-92c6-3mqf
To remediate this vulnerability, upgrade all affected Duplicate advisory 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/core@7.0.0-alpha.20
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @sequelize/core
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-r3vq-92c6-3mqf, inspect your project dependencies using npm:
npm ls @sequelize/core
Analyze the terminal output to locate any version of Duplicate advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.0-alpha.20), your application is affected.
Note: The npm ls @sequelize/core 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-843: Access of Resource Using Incompatible Type ('Type Confusion'), where the product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. In Duplicate advisory, 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-r3vq-92c6-3mqf Affected Duplicate advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@sequelize/core
|
npm |
< 7.0.0-alpha.20
|
7.0.0-alpha.20
|
References
Frequently Asked Questions
What is GHSA-r3vq-92c6-3mqf?
Which Duplicate advisory versions are affected?
What version fixes GHSA-r3vq-92c6-3mqf?
Is @sequelize/core affected?
What is the CVSS score of GHSA-r3vq-92c6-3mqf?
What CWE is associated with GHSA-r3vq-92c6-3mqf?
How can I check npm dependencies for GHSA-r3vq-92c6-3mqf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r3vq-92c6-3mqf",
"modified" : "2023-04-28T22:06:24Z",
"published" : "2023-02-16T15:30:28Z",
"withdrawn" : "2023-02-23T16:57:49Z",
"aliases" : [ ],
"summary" : "Duplicate advisory: Sequelize - Unsafe fall-through in getWhereConditions",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of [GHSA-vqfx-gj96-3w95](https://github.com/advisories/GHSA-vqfx-gj96-3w95). This link is maintained to preserve external references.\n\n## Original Description\nDue to improper parameter filtering in the sequalize js library, can a attacker peform injection.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@sequelize/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.0-alpha.20"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-22579"
}, {
"type" : "WEB",
"url" : "https://csirt.divd.nl/CVE-2023-22579"
}, {
"type" : "WEB",
"url" : "https://csirt.divd.nl/DIVD-2022-00020"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-843" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-23T16:57:49Z",
"nvd_published_at" : "2023-02-16T15:15:00Z"
}
}