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()).
Remediation
References
https://github.com/tableflip/react-native-meteor-oauth/blob/a7eb738b74c469f5db20296b44b7cae4e2337435/src/meteor-oauth.js#L66
https://nodesecurity.io/advisories/157
Related Vulnerabilities
CVE-2022-21208 Vulnerability in npm package node-opcua
CVE-2018-6874 Vulnerability in npm package auth0-js
CVE-2020-19697 Vulnerability in maven package org.webjars.bower:editor.md
CVE-2020-6468 Vulnerability in maven package org.webjars.npm:electron
CVE-2019-0228 Vulnerability in maven package org.apache.pdfbox:pdfbox