Skip to content

Apache Airflow missing Certificate Validation

Moderate severity GitHub Reviewed Published Aug 23, 2023 to the GitHub Advisory Database • Updated Mar 6, 2024

Package

pip apache-airflow (pip)

Affected versions

< 2.7.0

Patched versions

2.7.0
pip apache-airflow-providers-imap (pip)
< 3.3.0
3.3.0
pip apache-airflow-providers-smtp (pip)
< 1.3.0
1.3.0

Description

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

References

Published by the National Vulnerability Database Aug 23, 2023
Published to the GitHub Advisory Database Aug 23, 2023
Reviewed Aug 24, 2023
Last updated Mar 6, 2024

Severity

Moderate
5.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2023-39441

GHSA ID

GHSA-5f35-pq34-c87q

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.