Vulnerabilities in pkg:npm/parsel

PACKAGE
Advisory Summary

GHSA-vjvw-wcmw-pr26 is a CRITICAL insufficient entropy vulnerability (CWE-331: Insufficient Entropy) affecting Parsel libraries in the npm ecosystem. The issue involves insufficient entropy in parsel. Remediation is available in the latest vendor maintenance releases.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/parsel

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/parsel. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vjvw-wcmw-pr26 - CRITICAL Insufficient Entropy in parsel
GHSA-wqgx-4q47-j2w5 - CRITICAL Insecure Cryptography Algorithm in parsel
GHSA-q643-w9jp-q2qg - HIGH Hardcoded Initialization Vector in parsel

GHSA-vjvw-wcmw-pr26 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-vjvw-wcmw-pr26
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-331: Insufficient Entropy
Affected Product Parsel
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-vjvw-wcmw-pr26

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.

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

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-vjvw-wcmw-pr26, 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 CWE-331: Insufficient Entropy, where the product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others. 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

All versions of `parsel` use an insecure key derivation function. The package runs keys of arbitrary lengths through one round of SHA256 hashing for key stretching. This allows for the use of keys of insufficient entropy with inappropriate key stretching. ## Recommendation The package is deprecated and will not be updated. Consider using an alternative package.

GHSA-vjvw-wcmw-pr26 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-vjvw-wcmw-pr26?
GHSA-vjvw-wcmw-pr26 is a security vulnerability in Parsel involving Insufficient Entropy in parsel under CWE-331: Insufficient Entropy.
Which Parsel versions are affected?
Affected versions include releases prior to current release patches across affected packages: parsel.
What version fixes GHSA-vjvw-wcmw-pr26?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is parsel affected?
Yes, parsel is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-vjvw-wcmw-pr26?
GHSA-vjvw-wcmw-pr26 is classified under CWE-331: Insufficient Entropy (The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.).
How can I check npm dependencies for GHSA-vjvw-wcmw-pr26?
Run the dependency tree command: 'npm ls parsel'. 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-vjvw-wcmw-pr26",
  "modified" : "2020-08-31T19:00:10Z",
  "published" : "2020-09-04T17:37:08Z",
  "aliases" : [ ],
  "summary" : "Insufficient Entropy in parsel",
  "details" : "All versions of `parsel` use an insecure key derivation function. The package runs keys of arbitrary lengths through one round of SHA256 hashing for key stretching. This allows for the use of keys of insufficient entropy with inappropriate key stretching.\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/1462"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-331" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T19:00:10Z",
    "nvd_published_at" : null
  }
}