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

Vulnerability issue on Math.random() - Fortify Priority: High #647

Open
francescaProject opened this issue Feb 9, 2024 · 0 comments
Open

Comments

@francescaProject
Copy link

The random number generator implemented by random() cannot withstand a cryptographic attack.
In this case, the function that generates weak random numbers is random() in sockjs.js on line 3607.

return Math.floor(Math.random() * max);

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