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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.spark:spark-core | < 3.1.3 | 3.1.3 |
| Python (PyPI) | pyspark | < 3.1.3 | 3.1.3 |
Verweise
- https://lists.apache.org/thread/70x8fw2gx3g9ty7yk0f2f1dlpqml2smd
- https://github.com/advisories/GHSA-9rr6-jpg7-9jg6
- https://nvd.nist.gov/vuln/detail/CVE-2021-38296
- https://github.com/pypa/advisory-database/tree/main/vulns/pyspark/PYSEC-2022-186.yaml
- https://www.oracle.com/security-alerts/cpujul2022.html
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-294- Plattform
- Java / Kotlin (Maven), Python (PyPI)
- Paket
org.apache.spark:spark-core, pyspark- Veröffentlicht
- 10.03.2022
- Aktualisiert
- 11.10.2026 11:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2022-186 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-9rr6-jpg7-9jg6 - CC BY 4.0
Schwachstellenhistorie: org.apache.spark:spark-core
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.