CVE-2017-16028
MEDIUM 5.3CVSS 3.0Cryptographically Weak PRNG in randomatic
react-native-meteor-oauth is a library for Oauth2 login to a Meteor server in React Native. The oauth Random Token is generated using a non-cryptographically strong RNG (Math.random()).
- Published
- 4 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-330CWE-338
- Also known as
- GHSA-6g33-f262-xjp4
- Sources
- NVDJSONOSV GHSA-6g33-f262-xjp4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | randomatic_project | randomaticcpe:2.3:a:randomatic_project:randomatic:*:*:*:*:*:node.js:*:* |
< 3.0.0 | 3.0.0 |
| OSV | npm | randomatic | < 3.0.0 | 3.0.0 |
References
- https://github.com/tableflip/react-native-meteor-oauth/blob/a7eb738b74c469f5db20296b44b7cae4e2337435/src/meteor-oauth.js#L66 · Third Party Advisory, WEB
- https://nodesecurity.io/advisories/157 · Patch, Third Party Advisory
- 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://www.npmjs.com/advisories/157 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Oct 2018)