GHSA-phg2-9c5g-m4q7

    Dashboard / Vulnerabilities / GHSA-phg2-9c5g-m4q7

    GHSA-phg2-9c5g-m4q7

    Published: 21 Nov 2018Last Modified: 2 Dec 2024

    Summary: Remote Code Execution in spark-core

    Details: In all versions of Apache Spark, its standalone resource manager accepts code to execute on a 'master' host, that then runs that code on 'worker' hosts. The master itself does not, by design, execute user code. A specially-crafted request to the master can, however, cause the master to execute code too. Note that this does not affect standalone clusters with authentication enabled. While the master host typically has less outbound access to other resources than a worker, the execution of code on the master is nevertheless unexpected. # Mitigation Enable authentication on any Spark standalone cluster that is not otherwise secured from unwanted access, for example by network-level restrictions. Use spark.authenticate and related security properties described at https://spark.apache.org/docs/latest/security.html

    Affected packages

    Package

    Name: org.apache.spark:spark-core_2.11

    Purl: pkg:maven/org.apache.spark/spark-core_2.11

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.2.0
    1.2.1
    1.2.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High