Security mailing lists by PureSourceCode

CVE-2022-33891

HIGH 8.8CVSS 3.1known exploited

Apache Spark UI can allow impersonation if ACLs enabled

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.

Published
18 Jul 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-78
Also known as
BIT-spark-2022-33891GHSA-4x9r-j582-cgr8PYSEC-2022-236
Sources
NVDJSONCISA KEVJSONOSV GHSA-4x9r-j582-cgr8JSONOSV PYSEC-2022-236JSON
In CISA's Known Exploited Vulnerabilities catalog since 7 Mar 2023; US federal agencies must fix it by 28 Mar 2023.
Apply updates per vendor instructions.

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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/E:A
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache spark
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
<= 3.0.3
NVD apache spark
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
>= 3.1.1, <= 3.1.2
NVD apache spark
cpe:2.3:a:apache:spark:*:*:*:*:*:*:*:*
>= 3.2.0, <= 3.2.1
OSV Maven org.apache.spark:spark-parent_2.12 <= 3.0.3
OSV Maven org.apache.spark:spark-parent_2.12 >= 3.1.1, < 3.2.2 3.2.2
OSV PyPI pyspark < 3.1.3 3.1.3
OSV PyPI pyspark >= 3.2.0, < 3.2.2 3.2.2
OSV PyPI pyspark < 3.1.3; >= 3.2.0, < 3.2.2 3.1.3, 3.2.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jul 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jul 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Jul 2022)
  • 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 7 Mar 2023)
  • 7 Mar 2023 00:00 UTC · Listed as known exploited
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.