GHSA-q643-w9jp-q2qg: Parsel Hardcoded Initialization Vector Vulnerability
HIGHGHSA-q643-w9jp-q2qg is a HIGH hardcoded initialization vector vulnerability (General Security Weakness) affecting Parsel libraries in the npm ecosystem. The issue involves hardcoded initialization vector in parsel. Remediation is available in the latest vendor maintenance releases.
GHSA-q643-w9jp-q2qg at a Glance
How to Fix GHSA-q643-w9jp-q2qg
To remediate this vulnerability, upgrade all affected Parsel 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 parsel@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls parsel
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-q643-w9jp-q2qg, inspect your project dependencies using npm:
npm ls parsel
Analyze the terminal output to locate any version of Parsel 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 parsel 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 Parsel, 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-q643-w9jp-q2qg Affected Parsel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
parsel
|
npm |
≥ 0.0.0
|
|
References
Frequently Asked Questions
What is GHSA-q643-w9jp-q2qg?
Which Parsel versions are affected?
What version fixes GHSA-q643-w9jp-q2qg?
Is parsel affected?
What CWE is associated with GHSA-q643-w9jp-q2qg?
How can I check npm dependencies for GHSA-q643-w9jp-q2qg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q643-w9jp-q2qg",
"modified" : "2020-08-31T19:00:05Z",
"published" : "2020-09-04T17:34:59Z",
"aliases" : [ ],
"summary" : "Hardcoded Initialization Vector in parsel",
"details" : "All versions of `parsel` have a default hardcoded initialization vector. In cases where the IV is not provided, the package defaults to a hardcoded IV which renders the cipher vulnerable to chosen plaintext attacks.\n\n\n## Recommendation\n\nThe package is deprecated and will not be updated. Consider using an alternative package.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "parsel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1460"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T19:00:05Z",
"nvd_published_at" : null
}
}