CVE-2023-27604: Apache Airflow Sqoop Provider: Airflow Sqoop Provider RCE Vulnerability
| Severity | Moderate |
|---|---|
| Affects | apache-airflow-providers-apache-sqoop |
| Weakness | CWE-20 Improper Input Validation |
| Published | August 28, 2023 |
| Record updated | September 27, 2024 |
| CVE record | CVE-2023-27604 on cve.org |
Description
Apache Airflow Sqoop Provider, versions before 4.0.0, is affected by a vulnerability that allows an attacker pass parameters with the connections, which makes it possible to implement RCE attacks via ‘sqoop import --connect’, obtain airflow server permissions, etc. The attacker needs to be logged in and have authorization (permissions) to create/edit connections.
It is recommended to upgrade to a version that is not affected.
This issue was reported independently by happyhacking-k, And Xie Jianming and LiuHui of Caiji Sec Team also reported it.
Affected versions
| Product | Package | Versions |
|---|---|---|
| Apache Airflow Sqoop Provider | apache-airflow-providers-apache-sqoop |
before 4.0.0 |
Credits
- happyhacking-k (finder)
- Xie Jianming of Caiji Sec Team (finder)
- Liu Hui of Caiji Sec Team (finder)
References
- https://github.com/apache/airflow/pull/33039 (patch)
- https://lists.apache.org/thread/lswlxf11do51ob7f6xyyg8qp3n7wdrgd (vendor-advisory)