Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/pyspark@3.4.0
Typepypi
Namespace
Namepyspark
Version3.4.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version3.4.4
Latest_non_vulnerable_version3.5.2
Affected_by_vulnerabilities
0
url VCID-713x-tc78-rua3
vulnerability_id VCID-713x-tc78-rua3
summary
This issue affects Apache Spark versions before  3.4.4, 3.5.2 and 4.0.0.



Apache Spark versions before 4.0.0, 3.5.2 and 3.4.4 use an insecure default network encryption cipher for RPC communication between nodes.

When spark.network.crypto.enabled is set to true (it is set to false by default), but spark.network.crypto.cipher is not explicitly configured, Spark defaults to AES in CTR mode (AES/CTR/NoPadding), which provides encryption without authentication.

This vulnerability allows a man-in-the-middle attacker to modify encrypted RPC traffic undetected by flipping bits in ciphertext, potentially compromising heartbeat messages or application data and affecting the integrity of Spark workflows.


To mitigate this issue, users should either configure spark.network.crypto.cipher to AES/GCM/NoPadding to enable authenticated encryption or

enable SSL encryption by setting spark.ssl.enabled to true, which provides stronger transport security.
references
0
reference_url https://github.com/apache/spark
reference_id
reference_type
scores
url https://github.com/apache/spark
1
reference_url https://lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
url https://lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq
2
reference_url http://www.openwall.com/lists/oss-security/2025/10/14/11
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
url http://www.openwall.com/lists/oss-security/2025/10/14/11
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-55039
reference_id CVE-2025-55039
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2025-55039
4
reference_url https://github.com/advisories/GHSA-6p6v-m64v-jx8q
reference_id GHSA-6p6v-m64v-jx8q
reference_type
scores
url https://github.com/advisories/GHSA-6p6v-m64v-jx8q
fixed_packages
0
url pkg:pypi/pyspark@3.4.4
purl pkg:pypi/pyspark@3.4.4
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@3.4.4
1
url pkg:pypi/pyspark@3.5.2
purl pkg:pypi/pyspark@3.5.2
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@3.5.2
aliases CVE-2025-55039, GHSA-6p6v-m64v-jx8q, PYSEC-2025-184
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-713x-tc78-rua3
Fixing_vulnerabilities
0
url VCID-adsy-uby8-gkc9
vulnerability_id VCID-adsy-uby8-gkc9
summary
In Apache Spark versions prior to 3.4.0, applications using spark-submit can specify a 'proxy-user' to run as, limiting privileges. The application can execute code with the privileges of the submitting user, however, by providing malicious configuration-related classes on the classpath. This affects architectures relying on proxy-user, for example those using Apache Livy to manage submitted applications.

Update to Apache Spark 3.4.0 or later, and ensure that 
spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its 
default of "false", and is not overridden by submitted applications.
references
0
reference_url https://github.com/apache/spark
reference_id
reference_type
scores
url https://github.com/apache/spark
1
reference_url https://github.com/apache/spark/commit/909da96e1471886a01a9e1def93630c4fd40e74a
reference_id
reference_type
scores
url https://github.com/apache/spark/commit/909da96e1471886a01a9e1def93630c4fd40e74a
2
reference_url https://github.com/apache/spark/pull/39474
reference_id
reference_type
scores
url https://github.com/apache/spark/pull/39474
3
reference_url https://github.com/apache/spark/pull/41428
reference_id
reference_type
scores
url https://github.com/apache/spark/pull/41428
4
reference_url https://github.com/degant/spark/commit/bfba57724d2520e0fcaa7990f7257c21d11cd75a
reference_id
reference_type
scores
url https://github.com/degant/spark/commit/bfba57724d2520e0fcaa7990f7257c21d11cd75a
5
reference_url https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2023-44.yaml
reference_id
reference_type
scores
url https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2023-44.yaml
6
reference_url https://issues.apache.org/jira/browse/SPARK-41958
reference_id
reference_type
scores
url https://issues.apache.org/jira/browse/SPARK-41958
7
reference_url https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv
reference_id
reference_type
scores
url https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-22946
reference_id CVE-2023-22946
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2023-22946
9
reference_url https://github.com/advisories/GHSA-329j-jfvr-rhr6
reference_id GHSA-329j-jfvr-rhr6
reference_type
scores
url https://github.com/advisories/GHSA-329j-jfvr-rhr6
fixed_packages
0
url pkg:pypi/pyspark@3.3.2
purl pkg:pypi/pyspark@3.3.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-713x-tc78-rua3
1
vulnerability VCID-adsy-uby8-gkc9
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@3.3.2
1
url pkg:pypi/pyspark@3.4.0
purl pkg:pypi/pyspark@3.4.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-713x-tc78-rua3
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@3.4.0
aliases CVE-2023-22946, GHSA-329j-jfvr-rhr6, PYSEC-2023-44
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-adsy-uby8-gkc9
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@3.4.0