GitHub Advisoryadvisory · npm

GHSA-vjvw-wcmw-pr26 Insufficient Entropy in parsel

CRITICAL Published 2020-09-04 Modified 2020-08-31 Official page ↗
Ecosystem
npm
Packages
parsel
Severity
Critical
Weaknesses
CWE-331
Reviewed
2020-08-31

Affected packages

• npm parsel: >= 0.0.0 (no fix yet)

Description

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.

Related

Weakness · CWE (1)

  • CWE-331 Insufficient Entropy weakness

References