CVE-2023-40195 json
Apache Airflow Spark Provider Deserialization Vulnerability RCE
published 2023-08-28 3 y ago modified 2026-06-17 4 mo ago also GHSA-8q28-pw9g-w82c , PYSEC-2023-156 , EUVD-2023-0008
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
Deserialization of Untrusted Data, Inclusion of Functionality from Untrusted Control Sphere vulnerability in Apache Software Foundation Apache Airflow Spark Provider.
When the Apache Spark provider is installed on an Airflow deployment, an Airflow user that is authorized to configure Spark hooks can effectively run arbitrary code on the Airflow node by pointing it at a malicious Spark server. Prior to version 4.1.3, this was not called out in the documentation explicitly, so it is possible that administrators provided authorizations to configure Spark hooks without taking this into account. We recommend administrators to review their configurations to make sure the authorization to configure Spark hooks is only provided to fully trusted users.
To view the warning in the docs please visit https://airflow.apache.org/docs/apache-airflow-providers-apache-spark/4.1.3/connections/spark.html
Patch / fix
- pypi apache-airflow-providers-apache-spark 4.1.3
- Apache Software Foundation Apache Airflow Spark Provider 4.1.3
- github.com/apache/airflow@6850b5c commit
- github.com/apache/airflow#33233 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.86% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-airflow-providers-apache-spark | <4.1.3 |
4.1.3 |
Affected products
- Apache Software Foundation Apache Airflow Spark Provider
Classification
References
-
github.com
/apache/airflow/pull/33233
patch, web
-
github.com
/apache/airflow/commit/6850b5c777fa515e110ad1daa85242209a8ec6c0
web
-
lists.apache.org
/thread/fzy95b1d6zv31j5wrx3znhzcscck2o24
vendor-advisory, web, mailing-list, article, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-40195
advisory
-
github.com
/apache/airflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-apache-spark/PYSEC-2023-156.yaml
web
-
github.com
/advisories/GHSA-8q28-pw9g-w82c
advisory
Sources
- CVE List CVE-2023-40195
- GitHub Advisory GHSA-8q28-pw9g-w82c
- NVD CVE-2023-40195
- OSV PYSEC-2023-156
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.