Inadequate Encryption Strength Affecting keypair package, versions <1.0.4
Snyk CVSS
Attack Complexity
Low
Scope
Changed
Confidentiality
High
Threat Intelligence
EPSS
0.26% (66th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-KEYPAIR-1730326
- published 12 Oct 2021
- disclosed 12 Oct 2021
- credit Kevin Jones, Ross Wheeler, Dan Suceava
Introduced: 12 Oct 2021
CVE-2021-41117 Open this link in a new tabHow to fix?
Upgrade keypair
to version 1.0.4 or higher.
Overview
keypair is a Generate a RSA PEM key pair from pure JS
Affected versions of this package are vulnerable to Inadequate Encryption Strength. A bug in the pseudo-random number generator allows for weak RSA key generation. This could enable an attacker to decrypt confidential messages or gain authorized access to an account belonging to the victim.