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

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS score

0.200%
(58th percentile)

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.