CVE-2017-16028: react-native-meteor-oauth - Weak Cryptography
- Cve: CVE-2017-16028
- Name: react-native-meteor-oauth - Weak Cryptography
- Description: 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()).
- Impact: Attackers can predict OAuth tokens, potentially leading to session hijacking or unauthorized access.
- Remediation: Use a cryptographically secure RNG for token generation, such as crypto.getRandomValues() or equivalent.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.01304
- Epss percentile: 0.71256
- Assignee: [email protected]
- Published at: 2018-06-04T19:29:01Z
- Age in days: 3095
- Modified at: 2026-06-17T01:08:39Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-16028
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-330 | Use of Insufficiently Random Values |
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
References
| Url | Source | Tags |
|---|---|---|
| https://nodesecurity.io/advisories/157 | nvd | Patch, Third Party Advisory |
| https://github.com/tableflip/react-native-meteor-oauth/blob/a7eb738b74c469f5db20296b44b7cae4e2337435/src/meteor-oauth.js#L66 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| randomatic_project:randomatic | < 3.0.0 | no | nvd | /v1/products/randomatic_project/randomatic |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jonschlinkert/randomatic | commit | yes | /v1/repositories/jonschlinkert/randomatic |
Index
- Repositories: 47
- Repositories high signal: 5
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts