Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. randomatic
  4. ›
  5. CVE-2017-16028

CVE-2017-16028: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

June 4, 2018 (updated October 9, 2019)

The oauth Random Token is generated using a non-cryptographically strong RNG (Math.random()).

References

  • nvd.nist.gov/vuln/detail/CVE-2017-16028

Code Behaviors & Features

Detect and mitigate CVE-2017-16028 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 3.0.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Source file

npm/randomatic/CVE-2017-16028.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:19 +0000.