CVE-2023-33234: Apache Airflow CNCF Kubernetes Provider: KubernetesPodOperator RCE via connection configuration
| Severity | Low |
|---|---|
| Affects | apache-airflow-providers-cncf-kubernetes |
| Weakness | CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') |
| Published | May 30, 2023 |
| Record updated | October 10, 2024 |
| CVE record | CVE-2023-33234 on cve.org |
Description
Arbitrary code execution in Apache Airflow CNCF Kubernetes provider version 5.0.0 allows user to change xcom sidecar image and resources via Airflow connection.
In order to exploit this weakness, a user would already need elevated permissions (Op or Admin) to change the connection object in this manner. Operators should upgrade to provider version 7.0.0 which has removed the vulnerability.
Affected versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow CNCF Kubernetes Provider | apache-airflow-providers-cncf-kubernetes |
from 5.0.0 through 6.1.0 |
References
- https://lists.apache.org/thread/n1vpgl6h2qsdm52o9m2tx1oo86tl4gnq (vendor-advisory)