{"url":"http://public2.vulnerablecode.io/api/packages/33285?format=json","purl":"pkg:pypi/pyspark@3.4.0","type":"pypi","namespace":"","name":"pyspark","version":"3.4.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"3.4.4","latest_non_vulnerable_version":"3.5.2","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/37133?format=json","vulnerability_id":"VCID-713x-tc78-rua3","summary":"This issue affects Apache Spark versions before  3.4.4, 3.5.2 and 4.0.0.\n\n\n\nApache 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.\n\nWhen 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.\n\nThis 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.\n\n\nTo mitigate this issue, users should either configure spark.network.crypto.cipher to AES/GCM/NoPadding to enable authenticated encryption or\n\nenable SSL encryption by setting spark.ssl.enabled to true, which provides stronger transport security.","references":[{"reference_url":"https://github.com/apache/spark","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/apache/spark"},{"reference_url":"https://lists.apache.org/thread/zrgyy9l85nm2c7vk36vr7bkyorg3w4qq","reference_id":"","reference_type":"","scores":[{"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"},{"reference_url":"http://www.openwall.com/lists/oss-security/2025/10/14/11","reference_id":"","reference_type":"","scores":[{"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"},{"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"},{"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":[{"url":"http://public2.vulnerablecode.io/api/packages/46381?format=json","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"},{"url":"http://public2.vulnerablecode.io/api/packages/46382?format=json","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":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/36419?format=json","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.\n\nUpdate to Apache Spark 3.4.0 or later, and ensure that \nspark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its \ndefault of \"false\", and is not overridden by submitted applications.","references":[{"reference_url":"https://github.com/apache/spark","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/apache/spark"},{"reference_url":"https://github.com/apache/spark/commit/909da96e1471886a01a9e1def93630c4fd40e74a","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/apache/spark/commit/909da96e1471886a01a9e1def93630c4fd40e74a"},{"reference_url":"https://github.com/apache/spark/pull/39474","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/apache/spark/pull/39474"},{"reference_url":"https://github.com/apache/spark/pull/41428","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/apache/spark/pull/41428"},{"reference_url":"https://github.com/degant/spark/commit/bfba57724d2520e0fcaa7990f7257c21d11cd75a","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/degant/spark/commit/bfba57724d2520e0fcaa7990f7257c21d11cd75a"},{"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"},{"reference_url":"https://issues.apache.org/jira/browse/SPARK-41958","reference_id":"","reference_type":"","scores":[],"url":"https://issues.apache.org/jira/browse/SPARK-41958"},{"reference_url":"https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv","reference_id":"","reference_type":"","scores":[],"url":"https://lists.apache.org/thread/yllfl25xh5tbotjmg93zrq4bzwhqc0gv"},{"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"},{"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":[{"url":"http://public2.vulnerablecode.io/api/packages/33284?format=json","purl":"pkg:pypi/pyspark@3.3.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-713x-tc78-rua3"},{"vulnerability":"VCID-adsy-uby8-gkc9"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@3.3.2"},{"url":"http://public2.vulnerablecode.io/api/packages/33285?format=json","purl":"pkg:pypi/pyspark@3.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"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_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pyspark@3.4.0"}