CVE-2020-13927
Authentication bypass in Apache Airflow
Exploited in the wild
This vulnerability is on a Known Exploited Vulnerabilities catalogue, added 2022-01-18. Federal due date: 2022-07-18.
Apply updates per vendor instructions.
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Apache Airflow 1.10.10 - 'Example Dag' Remote Code Execution2021-06-02 · webapps · multiple
Impact
The previous default setting for Airflow's Experimental API was to allow all API requests without authentication, but this poses security risks to users who miss this fact. From Airflow 1.10.11 the default has been changed to deny all requests by default and is documented at https://airflow.apache.org/docs/1.10.11/security.html#api-authentication. Note this change fixes it for new installs but existing users need to change their config to default `[api]auth_backend = airflow.api.auth.backend.deny_all` as mentioned in the Updating Guide: https://github.com/apache/airflow/blob/1.10.11/UPDATING.md#experimental-api-will-deny-all-request-by-default
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | apache-airflow | < 1.10.11 | 1.10.11 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Airflow | before 1.10.11 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- CISA KEV catalog
- http://packetstormsecurity.com/files/162908/Apache-Airflow-1.10.10-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/174764/Apache-Airflow-1.10.10-Remote-Code-Execution.html
- https://lists.apache.org/thread.html/r23a81b247aa346ff193670be565b2b8ea4b17ddbc7a35fc099c1aadd%40%3Cdev.airflow.apache.org%3E
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13927
- https://github.com/advisories/GHSA-hhx9-p69v-cx2j
- https://nvd.nist.gov/vuln/detail/CVE-2020-13927
- https://airflow.apache.org/docs/apache-airflow/1.10.11/security.html#api-authentication
- https://github.com/apache/airflow/releases/tag/1.10.11
- https://github.com/apache/airflow/commit/180bca4f993b7b778a8d2c65d3d357652218922b
- https://github.com/apache/airflow/commit/9e305d6b810a2a21e2591a80a80ec41acb3afed0
- https://github.com/apache/airflow/pull/9611
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2020-18.yaml