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

Insufficient Entropy ('Cryptographic Issues') [VID:127] #97

Open
github-actions bot opened this issue Jul 5, 2021 · 0 comments
Open

Insufficient Entropy ('Cryptographic Issues') [VID:127] #97

github-actions bot opened this issue Jul 5, 2021 · 0 comments
Labels
Veracode Policy Scan A Veracode Flaw found during a Policy or Sandbox Scan VeracodeFlaw: Medium A Veracode Flaw, Medium severity

Comments

@github-actions
Copy link

github-actions bot commented Jul 5, 2021

Filename: ResetController.java

Line: 190

CWE: 331 (Insufficient Entropy ('Cryptographic Issues'))

Standard random number generators do not provide a sufficient amount of entropy when used for security purposes. Attackers can brute force the output of pseudorandom number generators such as rand(). If this random number is used where security is a concern, such as generating a session key or session identifier, use a trusted cryptographic random number generator instead. These can be found on the Windows platform in the CryptoAPI or in an open source library such as OpenSSL. In Java, use the SecureRandom object to ensure sufficient entropy. References: CWE

@github-actions github-actions bot added Veracode Policy Scan A Veracode Flaw found during a Policy or Sandbox Scan VeracodeFlaw: Medium A Veracode Flaw, Medium severity labels Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Veracode Policy Scan A Veracode Flaw found during a Policy or Sandbox Scan VeracodeFlaw: Medium A Veracode Flaw, Medium severity
Projects
None yet
Development

No branches or pull requests

0 participants