You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mridul Muralidharan (Jira)" <ji...@apache.org> on 2023/03/25 16:16:00 UTC
[jira] [Created] (SPARK-42922) Use SecureRandom, instead of Random in security sensitive contexts
Mridul Muralidharan created SPARK-42922:
-------------------------------------------
Summary: Use SecureRandom, instead of Random in security sensitive contexts
Key: SPARK-42922
URL: https://issues.apache.org/jira/browse/SPARK-42922
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.3.2, 3.2.3, 3.4.0, 3.5.0
Reporter: Mridul Muralidharan
Most uses of Random in spark are either in test cases or where we need a pseudo random number which is repeatable.
The following are usages where moving from Random to SecureRandom would be useful
a) HttpAuthUtils.createCookieToken
b) ThriftHttpServlet.RAN
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org