CVE-2021-26697 Apache Airflow: Lineage API endpoint for Experimental API missed authentication check

Medium 5.3 Published Updated

Unauthenticated attackers can access lineage metadata for DAGs and tasks via the deprecated Experimental API endpoint in Apache Airflow.

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

What is CVE-2021-26697?

CVE-2021-26697 is a medium-severity missing authorization vulnerability in Apache Airflow, published on 17 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The lineage endpoint of the deprecated Experimental API was not protected by authentication in Airflow 2.0.0. This allowed unauthenticated users to hit that endpoint. This is low-severity issue as the attacker needs to be aware of certain parameters to pass to that endpoint and even after can just get some metadata about a DAG and a Task. This issue affects Apache Airflow 2.0.0.

Weakness: CWE-306, CWE-269

Which versions are affected by CVE-2021-26697?

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

PackageAffectedFixed in
apache-airflow PyPIAll versions2.0.1
apache-airflow PyPIFrom 2.0.02.0.1rc1
apache-airflow PyPIFrom 2.0.02.0.1rc1
airflow BitnamiFrom 2.0.02.0.1

Products include Apache Airflow.

How do I fix CVE-2021-26697?

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

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

Is CVE-2021-26697 being exploited?

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

All Apache Airflow vulnerabilities

Sources

Also known as BIT-airflow-2021-26697, GHSA-fh37-cx83-q542, PYSEC-2021-3.

Is CVE-2021-26697 in your software?

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

Check your SBOMs for free