GitHub Advisoryadvisory · npm
GHSA-6g33-f262-xjp4 Cryptographically Weak PRNG in randomatic
MEDIUM
Official page ↗
- Aliases
- CVE-2017-16028
- Ecosystem
- npm
- Packages
- randomatic
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-330, CWE-338
- Reviewed
- 2020-06-16
Affected packages
• npm randomatic: < 3.0.0 → fixed in 3.0.0
Description
Affected versions of `randomatic` generate random values using a cryptographically weak psuedo-random number generator. This may result in predictable values instead of random values as intended.
Recommendation
Update to version 3.0.0 or later.
Related
Alias · CVE (1)
- CVE-2017-16028 react-native-meteor-oauth is a library for Oauth2 login to a Meteor server in React Native. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16028 advisory
- https://github.com/jonschlinkert/randomatic/commit/4a526959b3a246ae8e4a82f9c182180907227fe1#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 web
- https://github.com/advisories/GHSA-6g33-f262-xjp4 advisory
- https://github.com/tableflip/react-native-meteor-oauth/blob/a7eb738b74c469f5db20296b44b7cae4e2337435/src/meteor-oauth.js#L66 web
- https://www.npmjs.com/advisories/157 web