cybersecurity Request an audit

Actively exploited vulnerability / CVE-2022-33891

Apache Spark: an attacker can run commands on your data processing server

When access control is enabled in the Apache Spark web interface, an attacker can pose as another user and run commands on the server with the rights of the account Spark runs under. This means they could read or change the data being processed, disrupt jobs and use the server as a foothold into the rest of your network. This vulnerability is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.

Identifier
CVE-2022-33891 · EUVD-2022-0217
Severity
High (8.8/10)
On the CISA list (US)
yes, since 7 March 2023
Deadline given to US federal agencies
28 March 2023
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
82.0% (FIRST's estimate for the next 30 days)

Does it concern you?

Apache Spark is an open source platform for processing large amounts of data, used by data analytics, data engineering and machine learning teams. You likely have it if your company runs data analysis on its own servers or in the cloud, directly or through a provider.

The version is shown in the Spark web interface and in the startup information of the application, and your IT team or the provider managing the platform can tell you. Affected are versions 3.0.3 and earlier, versions 3.1.1 to 3.1.2, and versions 3.2.0 to 3.2.1.

Affected products and versions

  • Apache Spark
  • spark: up to and including 3.0.3; from 3.1.1 up to and including 3.1.2; from 3.2.0 up to and including 3.2.1

What to do

Install the latest update from Apache for Spark, following the vendor's instructions. Until then, make sure the Spark web interface is not reachable from the internet.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.