CVE-2024-29733: Apache Airflow FTP Provider: FTP_TLS instance with unverified SSL context
Improper Certificate Validation vulnerability in Apache Airflow FTP Provider.
The FTP hook lacks complete certificate validation in FTPTLS connections, which can potentially be leveraged. Implementing proper certificate validation by passing context=ssl.createdefaultcontext() during FTPTLS instantiation is used as mitigation to validate the certificates properly.
This issue affects Apache Airflow FTP Provider: before 3.7.0.
Users are recommended to upgrade to version 3.7.0, which fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/apache-airflow-providers-ftpto a version that resolves this vulnerability.Fixed in 3.7.0 - Upgrade
Upgrade
Apache Airflow FTP Providerto a version that resolves this vulnerability.Fixed in 3.7.0 - Configuration
When creating the FTP_TLS instance for FTP_TLS connections, pass context=ssl.create_default_context() to ensure proper certificate validation.
Apache Airflow FTP Provider FTP_TLS instantiation context = ssl.create_default_context()
Event History
Frequently Asked Questions
What is the severity of CVE-2024-29733?
CVE-2024-29733 has a medium severity rating due to the improper certificate validation in FTP_TLS connections.
How do I fix CVE-2024-29733?
To fix CVE-2024-29733, upgrade to version 3.7.0 or higher of the apache-airflow-providers-ftp package.
Which software is affected by CVE-2024-29733?
CVE-2024-29733 affects the apache-airflow-providers-ftp package prior to version 3.7.0.
Can CVE-2024-29733 be exploited?
Yes, CVE-2024-29733 can potentially be exploited through incomplete certificate validation in FTP_TLS connections.
What is the impact of exploiting CVE-2024-29733?
Exploiting CVE-2024-29733 may allow attackers to bypass security measures associated with FTP_TLS connections.