ADVISORIES

GitHub Advisory Database

GHSA-fp5j-3fpf-mhj5

Sensitive data written to disk unencrypted in Spark

Details

Prior to Spark 2.3.3, in certain situations Spark would write user data to local disk unencrypted, even if spark.io.encryption.enabled=true. This includes cached blocks that are fetched to disk (controlled by spark.maxRemoteBlockSizeFetchToMem); in SparkR, using parallelize; in Pyspark, using broadcast and parallelize; and use of python udfs.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.spark:spark-core_2.11
All versions before 2.3.3 (fixed in 2.3.3)
PyPIpyspark
All versions before 2.3.3 (fixed in 2.3.3)

References