CVE-2017-16028: Weak Token Generation in react-native-meteor-oauth
- Vendor
- Randomatic Project
react-native-meteor-oauth, a library enabling OAuth2 login to Meteor servers from React Native, generates OAuth random tokens using Math.random(), which is not a cryptographically secure random number generator. This results in predictable token values that can be exploited by attackers.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attackers can predict or brute-force OAuth tokens, potentially allowing unauthorized access to user accounts or session hijacking, undermining the security guarantees of the OAuth2 authentication process.
Mitigation
If you can’t patch tonight, do this now.
Until a patch is applied, restrict access to the authentication endpoints, monitor for suspicious login attempts, and consider implementing additional authentication factors to reduce the risk of token prediction.
Remediation
Patch, then assume compromise.
Replace Math.random() with a cryptographically secure random number generator, such as crypto.randomBytes or a similar secure RNG appropriate for the platform, to generate OAuth tokens.
Exploits
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-16028 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2017-16028 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2017-16028?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2017-16028.
- Is there a patch for CVE-2017-16028?
- Replace Math.random() with a cryptographically secure random number generator, such as crypto.randomBytes or a similar secure RNG appropriate for the platform, to generate OAuth tokens.
- What products are affected by CVE-2017-16028?
- Randomatic Project Randomatic.
- How severe is CVE-2017-16028?
- CVE-2017-16028 has a CVSS v3 score of 5.3 (Medium) and an EPSS score of 1.3% (71st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.