Advisory

PYSEC-2017-147

Also known as: CVE-2017-12612, GHSA-8rhc-48pp-52gr

Summary

The record has no summary.

Details

In Apache Spark 1.6.0 until 2.1.1, the launcher API performs unsafe deserialization of data received by its socket. This makes applications launched programmatically using the launcher API potentially vulnerable to arbitrary code execution by an attacker with access to any user account on the local machine. It does not affect apps run by spark-submit or spark-shell. The attacker would be able to execute code as the user that ran the Spark application. Users are encouraged to update to version 2.2.0 or later.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2017-09-13 16:29 UTC
Modified
2024-11-25 22:42 UTC

Affected packages and fixes

pyspark

PyPI · All systems

Affected

  • introduced 0, fixed 2.1.2 (ecosystem)

Fixed versions

2.1.2

Fix

  • Fixed version 2.1.2
    pip install --upgrade pyspark==2.1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences