[ https://issues.apache.org/jira/browse/HDFS-15825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kihwal Lee resolved HDFS-15825. ------------------------------- Resolution: Invalid > Using a cryptographically weak Pseudo Random Number Generator (PRNG) > -------------------------------------------------------------------- > > Key: HDFS-15825 > URL: https://issues.apache.org/jira/browse/HDFS-15825 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Vicky Zhang > Priority: Major > > We are a security research team at Virginia Tech. We are doing an empirical > study about the usefulness of the existing security vulnerability detection > tools. The following is a reported vulnerability by certain tools. We'll so > appreciate it if you can give any feedback on it. > *Vulnerability Description* > In file src/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java, use > java.util.Random instead of java.security.SecureRandom at Line 617. > *Security Impact:* > Java.util.Random is not cryptographically strong and may expose sensitive > information to certain types of attacks when used in a security context. > *Useful Resources*: > [https://cwe.mitre.org/data/definitions/338.html] > *Solution we suggest* > Replace it with SecureRandom > *Please share with us your opinions/comments if there is any* > Is the bug report helpful? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org