Insufficient Entropy
Opened this issue · 0 comments
my-veracode commented
Description:
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.
- Veracode issue ID: 210
- Severity: Medium
- Location: com/veracode/verademo/controller/ResetController.java:178
- Issue found on build: 11171357
- Issue first found at: Tue, 05 Jan 2021 04:12:30 GMT
- Scanner: Veracode Static Application Security Testing