CVE-2023-50944 Apache Airflow: Bypass permission verification to read code of other dags

Medium 6.5 Published Updated

Authenticated users can bypass permission checks to read the source code of DAGs they are not authorized to access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-50944?

CVE-2023-50944 is a medium-severity missing authorization vulnerability in Apache Airflow, published on 24 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Apache Airflow, versions before 2.8.1, have a vulnerability that allows an authenticated user to access the source code of a DAG to which they don't have access. This vulnerability is considered low since it requires an authenticated user to exploit it. Users are recommended to upgrade to version 2.8.1, which fixes this issue.

Weakness: CWE-862

Which versions are affected by CVE-2023-50944?

4 open source packages ship an affected version, including apache-airflow and airflow. It affects 1 product.

PackageAffectedFixed in
apache-airflow PyPIAll versions2.8.1
apache-airflow PyPIAll versions2.8.1rc1
apache-airflow PyPIAll versions2.8.1rc1
airflow BitnamiAll versions2.8.1

Products include Apache Airflow.

How do I fix CVE-2023-50944?

Upgrade apache-airflow to a fixed version for your release line: 2.8.1 or 2.8.1rc1.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-50944 being exploited?

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

All Apache Airflow vulnerabilities

Sources

Also known as BIT-airflow-2023-50944, ECHO-bb04-fbde-5d73, GHSA-vm5m-qmrx-fw8w, PYSEC-2024-14.

Is CVE-2023-50944 in your software?

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

Check your SBOMs for free