GitHub Advisoryadvisory · PyPI
GHSA-3gg8-mc87-cq3h Improper Certificate Validation vulnerability in Apache Airflow FTP Provider
LOW
Official page ↗
- Aliases
- CVE-2024-29733
- Ecosystem
- PyPI
- Packages
- apache-airflow-providers-ftp
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-295
- Reviewed
- 2024-04-24
Affected packages
• PyPI apache-airflow-providers-ftp: < 3.7.0 → fixed in 3.7.0
Description
Improper Certificate Validation vulnerability in Apache Airflow FTP Provider.
The FTP hook lacks complete certificate validation in FTP_TLS connections, which can potentially be leveraged. Implementing proper certificate validation by passing context=ssl.create_default_context() during FTP_TLS 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.
Related
Alias · CVE (1)
- CVE-2024-29733 Improper Certificate Validation vulnerability in Apache Airflow FTP Provider. vulnerability
Weakness · CWE (1)
- CWE-295 Improper Certificate Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29733 advisory
- https://github.com/apache/airflow/pull/38266 web
- https://docs.python.org/3/library/ssl.html#best-defaults web
- https://github.com/apache/airflow package
- https://github.com/apache/airflow/blob/95e26118b828c364755f3a8c96870f3591b01c31/airflow/providers/ftp/hooks/ftp.py#L280 web
- https://lists.apache.org/thread/265t5zbmtjs6h9fkw52wtp03nsbplky2 web
- http://www.openwall.com/lists/oss-security/2024/04/19/3 web