Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/pyspark@2.2.0
purl pkg:pypi/pyspark@2.2.0
Next non-vulnerable version 3.4.0
Latest non-vulnerable version 3.4.0
Risk 10.0
Vulnerabilities affecting this package (10)
Vulnerability Summary Fixed by
VCID-1hnx-b71k-mqat
Aliases:
BIT-spark-2023-22946
CVE-2023-22946
GHSA-329j-jfvr-rhr6
PYSEC-2023-44
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.
3.3.2
Affected by 1 other vulnerability.
3.4.0
Affected by 0 other vulnerabilities.
VCID-21dx-vph5-yuhe
Aliases:
BIT-spark-2020-9480
CVE-2020-9480
GHSA-wgx7-jwwm-cgjv
PYSEC-2020-95
In Apache Spark 2.4.5 and earlier, a standalone resource manager's master may be configured to require authentication (spark.authenticate) via a shared secret. When enabled, however, a specially-crafted RPC to the master can succeed in starting an application's resources on the Spark cluster, even without the shared key. This can be leveraged to execute shell commands on the host machine. This does not affect Spark clusters using other resource managers (YARN, Mesos, etc).
2.4.6
Affected by 5 other vulnerabilities.
VCID-5uaa-p1dd-3yb3
Aliases:
BIT-spark-2023-32007
CVE-2023-32007
GHSA-59hw-j9g6-mfg3
PYSEC-2023-72
** UNSUPPORTED WHEN ASSIGNED ** The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This issue was disclosed earlier as CVE-2022-33891, but incorrectly claimed version 3.1.3 (which has since gone EOL) would not be affected. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. Users are recommended to upgrade to a supported version of Apache Spark, such as version 3.4.0.
3.1.1
Affected by 6 other vulnerabilities.
3.2.0
Affected by 4 other vulnerabilities.
3.2.2
Affected by 1 other vulnerability.
VCID-aehs-6sa9-a3es
Aliases:
BIT-spark-2021-38296
CVE-2021-38296
GHSA-9rr6-jpg7-9jg6
PYSEC-2022-186
Apache Spark supports end-to-end encryption of RPC connections via "spark.authenticate" and "spark.network.crypto.enabled". In versions 3.1.2 and earlier, it uses a bespoke mutual authentication protocol that allows for full encryption key recovery. After an initial interactive attack, this would allow someone to decrypt plaintext traffic offline. Note that this does not affect security mechanisms controlled by "spark.authenticate.enableSaslEncryption", "spark.io.encryption.enabled", "spark.ssl", "spark.ui.strictTransportSecurity". Update to Apache Spark 3.1.3 or later
3.1.3
Affected by 4 other vulnerabilities.
VCID-h81x-x7wm-fqgx
Aliases:
CVE-2018-11760
GHSA-fvxv-9xxr-h7wj
PYSEC-2019-169
When using PySpark , it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application. This affects versions 1.x, 2.0.x, 2.1.x, 2.2.0 to 2.2.2, and 2.3.0 to 2.3.1.
2.2.3
Affected by 8 other vulnerabilities.
2.3.2
Affected by 8 other vulnerabilities.
VCID-hfnr-s2a7-bkbv
Aliases:
BIT-spark-2022-33891
CVE-2022-33891
GHSA-4x9r-j582-cgr8
PYSEC-2022-236
The Apache Spark UI offers the possibility to enable ACLs via the configuration option spark.acls.enable. With an authentication filter, this checks whether a user has access permissions to view or modify the application. If ACLs are enabled, a code path in HttpSecurityFilter can allow someone to perform impersonation by providing an arbitrary user name. A malicious user might then be able to reach a permission check function that will ultimately build a Unix shell command based on their input, and execute it. This will result in arbitrary shell command execution as the user Spark is currently running as. This affects Apache Spark versions 3.0.3 and earlier, versions 3.1.1 to 3.1.2, and versions 3.2.0 to 3.2.1.
3.1.1
Affected by 6 other vulnerabilities.
3.1.3
Affected by 4 other vulnerabilities.
3.2.2
Affected by 1 other vulnerability.
VCID-tytb-xy56-kffn
Aliases:
PYSEC-2019-44
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.
2.3.3
Affected by 6 other vulnerabilities.
VCID-v1xx-eddq-aqcu
Aliases:
BIT-spark-2022-31777
CVE-2022-31777
GHSA-43xg-8wmj-cw8h
PYSEC-2022-42976
A stored cross-site scripting (XSS) vulnerability in Apache Spark 3.2.1 and earlier, and 3.3.0, allows remote attackers to execute arbitrary JavaScript in the web browser of a user, by including a malicious payload into the logs which would be returned in logs rendered in the UI.
3.2.2
Affected by 1 other vulnerability.
3.3.1
Affected by 1 other vulnerability.
VCID-vqmm-ru8x-ukcx
Aliases:
CVE-2019-10099
GHSA-fp5j-3fpf-mhj5
PYSEC-2019-114
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.
2.3.3
Affected by 6 other vulnerabilities.
VCID-y6p4-rd9t-cqad
Aliases:
CVE-2018-1334
GHSA-6mqq-8r44-vmjc
PYSEC-2018-25
In Apache Spark 1.0.0 to 2.1.2, 2.2.0 to 2.2.1, and 2.3.0, when using PySpark or SparkR, it's possible for a different local user to connect to the Spark application and impersonate the user running the Spark application.
2.2.2
Affected by 9 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T22:27:03.698825+00:00 GitLab Importer Affected by VCID-1hnx-b71k-mqat https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2023-22946.yml 38.4.0
2026-04-16T22:14:38.512030+00:00 GitLab Importer Affected by VCID-v1xx-eddq-aqcu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-31777.yml 38.4.0
2026-04-16T22:05:53.775786+00:00 GitLab Importer Affected by VCID-hfnr-s2a7-bkbv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-33891.yml 38.4.0
2026-04-16T21:42:10.613957+00:00 GitLab Importer Affected by VCID-aehs-6sa9-a3es https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2021-38296.yml 38.4.0
2026-04-16T21:39:53.475063+00:00 GitLab Importer Affected by VCID-21dx-vph5-yuhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2020-9480.yml 38.4.0
2026-04-16T20:56:44.004553+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2019-10099.yml 38.4.0
2026-04-16T20:52:50.031481+00:00 GitLab Importer Affected by VCID-y6p4-rd9t-cqad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-1334.yml 38.4.0
2026-04-16T20:51:39.667817+00:00 GitLab Importer Affected by VCID-h81x-x7wm-fqgx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-11760.yml 38.4.0
2026-04-16T02:32:31.654060+00:00 GHSA Importer Affected by VCID-hfnr-s2a7-bkbv https://github.com/advisories/GHSA-4x9r-j582-cgr8 38.4.0
2026-04-16T02:03:15.284823+00:00 GHSA Importer Affected by VCID-aehs-6sa9-a3es https://github.com/advisories/GHSA-9rr6-jpg7-9jg6 38.4.0
2026-04-16T01:26:47.973691+00:00 GHSA Importer Affected by VCID-h81x-x7wm-fqgx https://github.com/advisories/GHSA-fvxv-9xxr-h7wj 38.4.0
2026-04-11T23:45:24.183669+00:00 GitLab Importer Affected by VCID-1hnx-b71k-mqat https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2023-22946.yml 38.3.0
2026-04-11T23:31:38.900741+00:00 GitLab Importer Affected by VCID-v1xx-eddq-aqcu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-31777.yml 38.3.0
2026-04-11T23:21:54.409735+00:00 GitLab Importer Affected by VCID-hfnr-s2a7-bkbv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-33891.yml 38.3.0
2026-04-11T22:57:39.806598+00:00 GitLab Importer Affected by VCID-aehs-6sa9-a3es https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2021-38296.yml 38.3.0
2026-04-11T22:55:08.533408+00:00 GitLab Importer Affected by VCID-21dx-vph5-yuhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2020-9480.yml 38.3.0
2026-04-11T22:07:44.772739+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2019-10099.yml 38.3.0
2026-04-11T22:03:39.391595+00:00 GitLab Importer Affected by VCID-y6p4-rd9t-cqad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-1334.yml 38.3.0
2026-04-11T22:02:25.076046+00:00 GitLab Importer Affected by VCID-h81x-x7wm-fqgx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-11760.yml 38.3.0
2026-04-11T13:57:58.786059+00:00 GHSA Importer Affected by VCID-hfnr-s2a7-bkbv https://github.com/advisories/GHSA-4x9r-j582-cgr8 38.3.0
2026-04-11T13:30:32.185676+00:00 GHSA Importer Affected by VCID-aehs-6sa9-a3es https://github.com/advisories/GHSA-9rr6-jpg7-9jg6 38.3.0
2026-04-11T12:56:07.690204+00:00 GHSA Importer Affected by VCID-h81x-x7wm-fqgx https://github.com/advisories/GHSA-fvxv-9xxr-h7wj 38.3.0
2026-04-02T23:49:01.791859+00:00 GitLab Importer Affected by VCID-1hnx-b71k-mqat https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2023-22946.yml 38.1.0
2026-04-02T23:37:02.323022+00:00 GitLab Importer Affected by VCID-v1xx-eddq-aqcu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-31777.yml 38.1.0
2026-04-02T23:28:44.559095+00:00 GitLab Importer Affected by VCID-hfnr-s2a7-bkbv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-33891.yml 38.1.0
2026-04-02T23:06:33.046783+00:00 GitLab Importer Affected by VCID-aehs-6sa9-a3es https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2021-38296.yml 38.1.0
2026-04-02T23:04:12.112367+00:00 GitLab Importer Affected by VCID-21dx-vph5-yuhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2020-9480.yml 38.1.0
2026-04-02T22:20:29.670636+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2019-10099.yml 38.1.0
2026-04-02T22:16:40.168449+00:00 GitLab Importer Affected by VCID-y6p4-rd9t-cqad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-1334.yml 38.1.0
2026-04-02T22:15:29.198407+00:00 GitLab Importer Affected by VCID-h81x-x7wm-fqgx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-11760.yml 38.1.0
2026-04-02T14:44:16.861652+00:00 GHSA Importer Affected by VCID-hfnr-s2a7-bkbv https://github.com/advisories/GHSA-4x9r-j582-cgr8 38.1.0
2026-04-02T14:20:22.746245+00:00 GHSA Importer Affected by VCID-aehs-6sa9-a3es https://github.com/advisories/GHSA-9rr6-jpg7-9jg6 38.1.0
2026-04-02T13:48:34.754865+00:00 GHSA Importer Affected by VCID-h81x-x7wm-fqgx https://github.com/advisories/GHSA-fvxv-9xxr-h7wj 38.1.0
2026-04-01T18:12:22.525731+00:00 GitLab Importer Affected by VCID-1hnx-b71k-mqat https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2023-22946.yml 38.0.0
2026-04-01T17:59:13.208096+00:00 GitLab Importer Affected by VCID-v1xx-eddq-aqcu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-31777.yml 38.0.0
2026-04-01T17:49:59.634852+00:00 GitLab Importer Affected by VCID-hfnr-s2a7-bkbv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2022-33891.yml 38.0.0
2026-04-01T17:25:46.641408+00:00 GitLab Importer Affected by VCID-aehs-6sa9-a3es https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2021-38296.yml 38.0.0
2026-04-01T17:23:11.179775+00:00 GitLab Importer Affected by VCID-21dx-vph5-yuhe https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2020-9480.yml 38.0.0
2026-04-01T16:38:16.030445+00:00 GitLab Importer Affected by VCID-vqmm-ru8x-ukcx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2019-10099.yml 38.0.0
2026-04-01T16:32:57.584083+00:00 GitLab Importer Affected by VCID-h81x-x7wm-fqgx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-11760.yml 38.0.0
2026-04-01T15:57:23.047440+00:00 GHSA Importer Affected by VCID-y6p4-rd9t-cqad https://github.com/advisories/GHSA-6mqq-8r44-vmjc 38.0.0
2026-04-01T15:14:01.032890+00:00 PyPI Importer Affected by VCID-5uaa-p1dd-3yb3 https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:13:57.361695+00:00 PyPI Importer Affected by VCID-1hnx-b71k-mqat https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:13:25.798974+00:00 PyPI Importer Affected by VCID-v1xx-eddq-aqcu https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:13:00.891662+00:00 PyPI Importer Affected by VCID-hfnr-s2a7-bkbv https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:12:41.766558+00:00 PyPI Importer Affected by VCID-aehs-6sa9-a3es https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:02:03.838088+00:00 PyPI Importer Affected by VCID-21dx-vph5-yuhe https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:01:04.263801+00:00 PyPI Importer Affected by VCID-tytb-xy56-kffn https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:01:04.204322+00:00 PyPI Importer Affected by VCID-vqmm-ru8x-ukcx https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:38.222324+00:00 PyPI Importer Affected by VCID-h81x-x7wm-fqgx https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:21.687229+00:00 PyPI Importer Affected by VCID-y6p4-rd9t-cqad https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:48:21.244702+00:00 GitLab Importer Affected by VCID-y6p4-rd9t-cqad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pyspark/CVE-2018-1334.yml 38.0.0
2026-04-01T12:48:15.773154+00:00 Pypa Importer Affected by VCID-5uaa-p1dd-3yb3 https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2023-72.yaml 38.0.0
2026-04-01T12:48:13.641140+00:00 Pypa Importer Affected by VCID-1hnx-b71k-mqat https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2023-44.yaml 38.0.0
2026-04-01T12:47:54.589637+00:00 Pypa Importer Affected by VCID-v1xx-eddq-aqcu https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2022-42976.yaml 38.0.0
2026-04-01T12:47:41.430507+00:00 Pypa Importer Affected by VCID-hfnr-s2a7-bkbv https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2022-236.yaml 38.0.0
2026-04-01T12:47:30.336828+00:00 Pypa Importer Affected by VCID-aehs-6sa9-a3es https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2022-186.yaml 38.0.0
2026-04-01T12:42:32.929711+00:00 Pypa Importer Affected by VCID-21dx-vph5-yuhe https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2020-95.yaml 38.0.0
2026-04-01T12:42:04.314268+00:00 Pypa Importer Affected by VCID-vqmm-ru8x-ukcx https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2019-114.yaml 38.0.0
2026-04-01T12:41:55.615797+00:00 Pypa Importer Affected by VCID-h81x-x7wm-fqgx https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2019-169.yaml 38.0.0
2026-04-01T12:41:46.803287+00:00 Pypa Importer Affected by VCID-y6p4-rd9t-cqad https://github.com/pypa/advisory-database/blob/main/vulns/pyspark/PYSEC-2018-25.yaml 38.0.0