Advisory

GHSA-5f35-pq34-c87q

Also known as: BIT-airflow-2023-39441, CVE-2023-39441, PYSEC-2026-1130, PYSEC-2026-2368, PYSEC-2026-2371

Summary

Apache Airflow missing Certificate Validation

Details

Apache Airflow SMTP Provider before 1.3.0, Apache Airflow IMAP Provider before 3.3.0, and Apache Airflow before 2.7.0 are affected by the Validation of OpenSSL Certificate vulnerability.

The default SSL context with SSL library did not check a server's X.509 certificate.  Instead, the code accepted any certificate, which could result in the disclosure of mail server credentials or mail contents when the client connects to an attacker in a MITM position.

Users are strongly advised to upgrade to Apache Airflow version 2.7.0 or newer, Apache Airflow IMAP Provider version 3.3.0 or newer, and Apache Airflow SMTP Provider version 1.3.0 or newer to mitigate the risk associated with this vulnerability

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-08-23 18:30 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

apache-airflow-providers-smtp

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.0 (ecosystem)

Fixed versions

1.3.0

Fix

  • Fixed version 1.3.0
    pip install --upgrade apache-airflow-providers-smtp==1.3.0

apache-airflow-providers-imap

PyPI · All systems

Affected

  • introduced 0, fixed 3.3.0 (ecosystem)

Fixed versions

3.3.0

Fix

  • Fixed version 3.3.0
    pip install --upgrade apache-airflow-providers-imap==3.3.0

apache-airflow

PyPI · All systems

Affected

  • introduced 0, fixed 2.7.0 (ecosystem)

Fixed versions

2.7.0

Fix

  • Fixed version 2.7.0
    pip install --upgrade apache-airflow==2.7.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences