You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Random() is not secure because it provides insufficient entropy. CWE ID 331. #536
Activity
piksel commentedon Nov 10, 2020
The referenced code is this:
SharpZipLib/src/ICSharpCode.SharpZipLib/Zip/ZipFile.cs
Line 3727 in 716b913
But the same method is also used in:
SharpZipLib/src/ICSharpCode.SharpZipLib/Zip/ZipOutputStream.cs
Line 629 in 9e02750
tdhintz commentedon Nov 10, 2020
There are possibly 3 uses of the insecure Random() found throughout the codebase.