keypair@1.0.2 vulnerabilities

Generate a RSA PEM key pair from pure JS

Direct Vulnerabilities

Known vulnerabilities in the keypair package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Inadequate Encryption Strength

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.

How to fix Inadequate Encryption Strength?

Upgrade keypair to version 1.0.4 or higher.

<1.0.4