CVE-2023-33234 Apache Airflow CNCF Kubernetes Provider: KubernetesPodOperator RCE via connection configuration

High 7.2 Published Updated

Privileged users can execute arbitrary code by modifying the xcom sidecar image configuration in the Airflow Kubernetes provider.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-33234?

CVE-2023-33234 is a high-severity code injection vulnerability in Apache Airflow CNCF Kubernetes Provider, published on 30 May 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-74

Which versions are affected by CVE-2023-33234?

3 open source packages ship an affected version, including apache-airflow-providers-cncf-kubernetes. It affects 1 product.

PackageAffectedFixed in
apache-airflow-providers-cncf-kubernetes PyPIFrom 5.0.07.0.0
apache-airflow-providers-cncf-kubernetes PyPIFrom 5.0.07.0.0
apache-airflow-providers-cncf-kubernetes PyPIFrom 5.0.07.0.0

Products include Apache Apache-Airflow-Providers-Cncf-Kubernetes.

How do I fix CVE-2023-33234?

Upgrade apache-airflow-providers-cncf-kubernetes to 7.0.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-33234 being exploited?

There is no known exploitation of CVE-2023-33234 in the wild and no public exploit code.

Sources

Also known as GHSA-2rx4-9f5h-9gjf, PYSEC-2026-1143.

Is CVE-2023-33234 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free