Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-40954

5.5 · MEDIUM
Published Nov 22, 2022 apache CWE-78 EPSS 1.38% (70th pctl)

Overview

CVE-2022-40954 is a medium-severity vulnerability affecting apache airflow. It was published on November 22, 2022 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache Airflow Spark Provider, Apache Airflow allows an attacker to read arbtrary files in the task execution context, without write access to DAG files. This issue affects Spark Provider versions prior to 4.0.0. It also impacts any Apache Airflow versions prior to 2.3.0 in case Spark Provider is installed (Spark Provider 4.0.0 can only be installed for Airflow 2.3.0+). Note that you need to manually install the Spark Provider version 4.0.0 in order to get rid of the vulnerability on top of Airflow 2.3.0+ version that has lower version of the Spark Provider installed).

Remediation

Check the references section for vendor advisories and patches from apache. Update airflow to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
apache airflow >= 0, < 2.3.0 Affected
apache apache-airflow-providers-apache-spark >= 0, < 4.0.0 Affected

Frequently Asked Questions

What is CVE-2022-40954?

CVE-2022-40954 is a medium-severity vulnerability affecting apache airflow. It was published on November 22, 2022 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-40954?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-40954?

Check the references section for vendor advisories and patches from apache. Update airflow to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-40954?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-40954 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.