Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. keypair
  4. ›
  5. CVE-2021-41117

CVE-2021-41117: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

October 11, 2021 (updated October 19, 2021)

An issue was discovered where this library was generating identical RSA keys used in SSH.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-41117

Code Behaviors & Features

Detect and mitigate CVE-2021-41117 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.4

Fixed versions

  • 1.0.4

Solution

Upgrade to version 1.0.4 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

Source file

npm/keypair/CVE-2021-41117.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.