Patrowl Intel
Sign in
Skip to the CVEs

Filter by signal

11 pyspark CVEs, newest first

  1. —Apache Spark, Pyspark PysparkOct 15, 2025

    Apache Spark has Inadequate Encryption Strength 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.

    Affected: ≥ 3.5.0, < 3.5.2 · from the first version, < 3.4.4

  2. 8.8 EPSS 76 % RemoteApache Spark, Pyspark PysparkMay 2, 2023

    Apache Spark UI vulnerable to Command Injection 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.

    Affected: ≥ 3.1.1, < 3.2.2

  3. 9.9 EPSS 1.1 % RemoteApache Spark, Pyspark PysparkApr 17, 2023

    Apache Spark vulnerable to Improper Privilege Management In Apache Spark versions prior to versions 3.4.0 and 3.3.3, 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, 3.3.3, or later, and ensure that spark.submit.proxyUser.allowCustomClasspathInClusterMode is set to its default of "false", and is not overridden by submitted applications.

    Affected: from the first version, < 3.3.2

  4. 5.4 EPSS 1.8 % RemoteApache Spark, Pyspark PysparkNov 1, 2022

    Apache Spark vulnerable to Log Injection 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.

    Affected: ≥ 3.3.0, < 3.3.1 · from the first version, < 3.2.2

  5. 8.8 KEV · due Mar 28, 2023 3 exploits EPSS 93 % RemoteApache Spark, Pyspark PysparkJul 19, 2022

    Apache Spark UI can allow impersonation if ACLs enabled 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. A previous version of this advisory incorrectly stated that version 3.1.3 was not vulnerable. Per [GHSA-59hw-j9g6-mfg3](https://github.com/advisories/GHSA-59hw-j9g6-mfg3), version 3.1.3 is vulnerable and vulnerable version ranges in this advisory have been changed to reflect the correct information.

    Affected: ≥ 3.2.0, < 3.2.2 · from the first version, < 3.1.3

  6. 7.5 EPSS 1.6 % RemoteApache Spark, Oracle Financial Services Crime And Compliance Management Studio +1Mar 11, 2022

    Authentication Bypass by Capture-replay in Apache Spark 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

    Affected: from the first version, < 3.1.3

  7. 9.8 1 exploit EPSS 30 % RemoteOracle Business Intelligence, Apache Spark +1Feb 10, 2022

    Improper Authentication in Apache Spark 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).

    Affected: from the first version, < 2.4.6

  8. 7.5 EPSS 1.3 % RemoteApache Spark, Pyspark PysparkAug 8, 2019

    Sensitive data written to disk unencrypted in Spark 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: from the first version, < 2.3.3

  9. 4.7Apache Spark, Pyspark PysparkMar 14, 2019

    Exposure of Sensitive Information to an Unauthorized Actor in Apache Spark 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.

    Affected: ≥ 2.2.0, < 2.2.2 · from the first version, < 2.1.3

  10. 5.5Apache Spark, Pyspark PysparkFeb 7, 2019

    Pyspark User Impersonation Vulnerability 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.

    Affected: ≥ 1.0.2, < 2.2.3 · ≥ 2.3.0, < 2.3.2