GHSA-vjvw-wcmw-pr26 Insufficient Entropy in parsel
The parsel library uses weak key stretching, allowing attackers to bypass cryptographic protections due to insufficient entropy handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-vjvw-wcmw-pr26?
GHSA-vjvw-wcmw-pr26 is a vulnerability in parsel, published on 4 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by GHSA-vjvw-wcmw-pr26?
2 open source packages ship an affected version, including parsel.
| Package | Affected | Fixed in |
|---|---|---|
parsel npm | From 0.0.0 | None |
parsel npm | From 0.0.0 | None |
How do I fix GHSA-vjvw-wcmw-pr26?
No fix has been published for GHSA-vjvw-wcmw-pr26 yet. Limit exposure of the affected software until one is available.
Is GHSA-vjvw-wcmw-pr26 being exploited?
There is no known exploitation of GHSA-vjvw-wcmw-pr26 in the wild and no public exploit code.