GHSA-wqgx-4q47-j2w5: Parsel Insecure Cryptography Algorithm Vulnerability

CRITICAL
CWE-327
Published
Advisory Summary

GHSA-wqgx-4q47-j2w5 is a CRITICAL insecure cryptography algorithm vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Parsel libraries in the npm ecosystem. The issue involves insecure cryptography algorithm in parsel. Remediation is available in the latest vendor maintenance releases.

GHSA-wqgx-4q47-j2w5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wqgx-4q47-j2w5
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Affected Product Parsel
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-wqgx-4q47-j2w5

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-wqgx-4q47-j2w5, 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-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. 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 cryptography algorithm. The package uses `aes-256-cbc` without integrity checks, which renders the ciphertext vulnerable to bit-flipping attacks. ## Recommendation The package is deprecated and will not be updated. Consider using an alternative package.

GHSA-wqgx-4q47-j2w5 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-wqgx-4q47-j2w5?
GHSA-wqgx-4q47-j2w5 is a security vulnerability in Parsel involving Insecure Cryptography Algorithm in parsel under CWE-327: Use of a Broken or Risky Cryptographic Algorithm.
Which Parsel versions are affected?
Affected versions include releases prior to current release patches across affected packages: parsel.
What version fixes GHSA-wqgx-4q47-j2w5?
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-wqgx-4q47-j2w5?
GHSA-wqgx-4q47-j2w5 is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm (The product uses a broken or risky cryptographic algorithm or protocol.).
How can I check npm dependencies for GHSA-wqgx-4q47-j2w5?
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-wqgx-4q47-j2w5",
  "modified" : "2020-08-31T19:00:07Z",
  "published" : "2020-09-04T17:36:04Z",
  "aliases" : [ ],
  "summary" : "Insecure Cryptography Algorithm in parsel",
  "details" : "All versions of `parsel` use an insecure cryptography algorithm. The package uses `aes-256-cbc` without integrity checks, which renders the ciphertext vulnerable to bit-flipping 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/1461"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-327" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-08-31T19:00:07Z",
    "nvd_published_at" : null
  }
}