CVE-2017-15720 Improper Input Validation in Apache Airflow resulting in Remote Code Execution

High 8.8 Published Updated

Authenticated users can execute arbitrary code on the Apache Airflow webserver by creating a specially crafted object.

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-2017-15720?

CVE-2017-15720 is a high-severity code injection vulnerability in Apache Airflow, published on 23 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Apache Airflow 1.8.2 and earlier, an authenticated user can execute code remotely on the Airflow webserver by creating a special object.

Weakness: CWE-20

Which versions are affected by CVE-2017-15720?

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

PackageAffectedFixed in
apache-airflow PyPIAll versions1.9.0
apache-airflow PyPIAll versions1.9.0
apache-airflow PyPIAll versions1.9.0

Products include Apache Airflow.

How do I fix CVE-2017-15720?

Upgrade apache-airflow to 1.9.0 or later.

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

Is CVE-2017-15720 being exploited?

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

All Apache Airflow vulnerabilities

Sources

Also known as GHSA-8fg4-j562-mjrc, PYSEC-2019-147.

Is CVE-2017-15720 in your software?

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

Check your SBOMs for free