Description
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
Remediation
References
https://lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smd
https://www.oracle.com/security-alerts/cpujul2022.html
Related Vulnerabilities
CVE-2021-39167 Vulnerability in npm package @openzeppelin/contracts
CVE-2022-26112 Vulnerability in maven package org.apache.pinot:pinot-spi
CVE-2022-43425 Vulnerability in maven package io.jenkins.plugins:custom-checkbox-parameter
CVE-2019-1003062 Vulnerability in maven package org.jenkins-ci.plugins:aws-cloudwatch-logs-publisher
CVE-2022-36091 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates