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

[Security Vulnerability] - Insecure Randomness for webcomponents-bundle.js #545

Open
Reni88 opened this issue May 19, 2023 · 0 comments
Open

Comments

@Reni88
Copy link

Reni88 commented May 19, 2023

Hi,

Good day.
Raising this issue of a low security concern that was identified and raised by our security team in a JS component under webcomponents assets (webcomponents-bundle.js) in one of our service.

Findings: Insecure Randomness.
Risk: Low
Description: The random number generator implemented by Math.random() cannot withstand a cryptographic attack.
Impact: Random values are often used as a mechanism to prevent malicious users from guessing a value, such as a password, encryption key, or session identifier. Depending on what this random value is used for, an attacker would be able to predict the next numbers generated, or previously generated values. This will enable the attacker to hijack another user's session, impersonate another user, or crack an encryption key (depending on what the random function was used for).

I hope I have given all necessary details regarding this matter.
I am looking forward to hearing from you at your earliest convenience.

Thank you.

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