Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow-providers-ftp
  4. ›
  5. CVE-2024-29733

CVE-2024-29733: Improper Certificate Validation vulnerability in Apache Airflow FTP Provider

April 21, 2024 (updated April 24, 2024)

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.

References

  • docs.python.org/3/library/ssl.html
  • github.com/advisories/GHSA-3gg8-mc87-cq3h
  • github.com/apache/airflow
  • github.com/apache/airflow/blob/95e26118b828c364755f3a8c96870f3591b01c31/airflow/providers/ftp/hooks/ftp.py
  • github.com/apache/airflow/pull/38266
  • lists.apache.org/thread/265t5zbmtjs6h9fkw52wtp03nsbplky2
  • nvd.nist.gov/vuln/detail/CVE-2024-29733

Code Behaviors & Features

Detect and mitigate CVE-2024-29733 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.0

Fixed versions

  • 3.7.0

Solution

Upgrade to version 3.7.0 or above.

Impact 2.7 LOW

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

pypi/apache-airflow-providers-ftp/CVE-2024-29733.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:28 +0000.