GHSA-2rx4-9f5h-9gjf
Apache Airflow CNCF Kubernetes Provider: KubernetesPodOperator RCE via connection configuration
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | apache-airflow-providers-cncf-kubernetes | >= 5.0.0, < 7.0.0 | 7.0.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.