Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortify scan finds Insecure Randomness vulnerability in jszip.js, line 11488 #900

Open
dianesun opened this issue Jun 30, 2023 · 0 comments

Comments

@dianesun
Copy link

Abstract: The random number generator implemented by random() cannot withstand a
cryptographic attack.
Sink: jszip.js:11488 FunctionPointerCall: random()
11486 // * http://www.whatwg.org/specs/web-apps/currentwork/multipage/comms.html#crossDocumentMessages
11487
11488 var messagePrefix = "setImmediate$" + Math.random() + "$";
11489 var onGlobalMessage = function (event) {
11490 if (event.source === global &&

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant