CVE-2019-10099: Vulnerability in pyspark package

pyspark Updated 02 Oct 2025

Summary

07/08/2019
Yes i
Unrated
Not published

CVE-2019-10099: 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. Affects pyspark versions < 2.3.3. Fixed in 2.3.3. How to fix ↓

Also tracked for

The same CVE-2019-10099 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The pyspark package is a Python library that provides a Python API for Apache Spark, a fast and general-purpose cluster computing system. It allows users to write Spark applications using Python programming language. This vulnerability affects versions prior to Spark 2.3.3.

Vulnerability Detail

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. This vulnerability could potentially expose sensitive user data to unauthorized access.

How To Fix

Minimum fixed version

2.3.3

This is the first release that contains the fix.

pip install --upgrade "pyspark==2.3.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately possible, a workaround is to manually encrypt the data before writing it to local disk. This can be achieved by using encryption libraries or functions available in the programming language being used with Spark.

Conclusion

In conclusion, this vulnerability in the pyspark package prior to version 2.3.3 could lead to the exposure of sensitive user data. It is recommended to upgrade to the latest version or apply the provided workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pyspark →

Share this vulnerability

FAQ

This vulnerability could potentially expose sensitive user data to unauthorized access.

Versions prior to Spark 2.3.3 are affected.

Upgrade to Spark version 2.3.3 or later.

Yes, you can manually encrypt the data before writing it to local disk.

Related vulnerabilities

Recent vulnerabilities recorded for pyspark.

How To Fix

Minimum fixed version

2.3.3

This is the first release that contains the fix.

pip install --upgrade "pyspark==2.3.3"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback