Vulnerability · Published Feb 17, 2021 · Assigned by apache
CVE-2021-26559CWE-284 Improper Access Control on Configurations Endpoint for the Stable API
Medium 6.5
In plain English
A medium-severity improper access control in Apache Airflow from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Improper Access Control on Configurations Endpoint for the Stable API of Apache Airflow allows users with Viewer or User role to get Airflow Configurations including sensitive information even when `[webserver] expose_config` is set to `False` in `airflow.cfg`. This allowed a privilege escalation attack. This issue affects Apache Airflow 2.0.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | apache-airflow | 2.0.1rc1 | GHSA-ffw3-6mp6-jmvj |
| PyPI | apache-airflow | 2.0.1 | PYSEC-2021-2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Airflow | Apache Airflow 2.0.0 |
Weakness: CWE-284
References
- https://lists.apache.org/thread.html/r3b3787700279ec361308cbefb7c2cce2acb26891a12ce864e4a13c8d%40%3Cusers.airflow.apache.org%3E x_refsource_MISC
- [oss-security] 20210217 CVE-2021-26559: Apache Airflow 2.0.0: CWE-284 Improper Access Control on Configurations Endpoint for the Stable API mailing-list, x_refsource_MLIST
- [announce] 20210217 CVE-2021-26559: Apache Airflow: CWE-284 Privilege Escalation Attack mailing-list, x_refsource_MLIST