bettiolo / oauth-signature-js

JavaScript OAuth 1.0a signature generator (RFC 5849) for node and the browser
https://www.npmjs.com/package/oauth-signature
BSD 3-Clause "New" or "Revised" License
232 stars 71 forks source link

Using vulnerable crypto-js version #43

Open mkj28 opened 4 years ago

mkj28 commented 4 years ago

https://app.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472 Insecure Randomness affecting crypto-js package, versions <3.2.1

Affected versions of this package are vulnerable to Insecure Randomness. The secureRandom() method is supposed to return a cryptographically strong pseudo-random data string, but it is biased to certain digits. An attacker could be able to guess the created digits.

Remediation Upgrade crypto-js to version 3.2.1 or higher.

References GitHub Commit

GitHub Issue