Apache Airflow CNCF Kubernetes Provider: KubernetesPodOperator RCE via connection configuration
High severity
GitHub Reviewed
Published
Jul 6, 2023
to the GitHub Advisory Database
•
Updated Nov 10, 2023
Package
Affected versions
>= 5.0.0, < 7.0.0
Patched versions
7.0.0
Description
Published by the National Vulnerability Database
May 30, 2023
Published to the GitHub Advisory Database
Jul 6, 2023
Reviewed
Jul 6, 2023
Last updated
Nov 10, 2023
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