SCA: security update for org.apache.spark:spark-parent_2.12, pyspark (GHSA-4x9r-j582-cgr8)

high Tenable Cloud Security Plugin ID 410476

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-33891)

Solution

Update the pyspark library and its related packages to version 3.1.3 or later.

See Also

https://github.com/advisories/GHSA-4x9r-j582-cgr8

Plugin Details

Severity: High

ID: 410476

Version: Revision 1.12

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.54

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-33891

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 8.7

Threat Vector: CVSS:4.0/E:A

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/19/2022

Vulnerability Publication Date: 7/18/2022

CISA Known Exploited Vulnerability Due Dates: 3/28/2023

Exploitable With

Metasploit (Apache Spark Unauthenticated Command Injection RCE)

Reference Information

CVE: CVE-2022-33891

cwe: CWE-78