Improper certificate validation in Apache Airflow SMTP Provider
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-295.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow SMTP Provider | before 1.30 | 1.30 | Patch available | CNA |
| Apache | Apache Airflow IMAP Provider | before 3.3.0 | 3.3.0 | Patch available | CNA |
| Apache | Apache Airflow | before 2.7.0 | 2.7.0 | Patch available | CNA |
| — | apache-airflow-providers-smtp (PyPI) | before 1.3.0 | 1.3.0 | Patch available | GHSA-5f35-pq34-c87q |
| — | apache-airflow-providers-imap (PyPI) | before 3.3.0 | 3.3.0 | Patch available | GHSA-5f35-pq34-c87q |
| — | apache-airflow (PyPI) | before 2.7.0 | 2.7.0 | Patch available | GHSA-5f35-pq34-c87q |
- Apache Airflow SMTP Provider VendorApache Affected before 1.30 Fixed in 1.30 Patch available CNA
- Apache Airflow IMAP Provider VendorApache Affected before 3.3.0 Fixed in 3.3.0 Patch available CNA
- Apache Airflow VendorApache Affected before 2.7.0 Fixed in 2.7.0 Patch available CNA
- apache-airflow-providers-smtp (PyPI) Vendor— Affected before 1.3.0 Fixed in 1.3.0 Patch available GHSA-5f35-pq34-c87q
- apache-airflow-providers-imap (PyPI) Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available GHSA-5f35-pq34-c87q
- apache-airflow (PyPI) Vendor— Affected before 2.7.0 Fixed in 2.7.0 Patch available GHSA-5f35-pq34-c87q
Remediation
- Fix · CNA Apache Airflow SMTP Provider (Apache Software Foundation) Fixed in 1.30
- Fix · CNA Apache Airflow IMAP Provider (Apache Software Foundation) Fixed in 3.3.0
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 2.7.0
- Fix · GHSA-5f35-pq34-c87q apache-airflow-providers-smtp (PyPI) Fixed in 1.3.0 Advisory →
- Fix · GHSA-5f35-pq34-c87q apache-airflow-providers-imap (PyPI) Fixed in 3.3.0 Advisory →
- Fix · GHSA-5f35-pq34-c87q apache-airflow (PyPI) Fixed in 2.7.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Airflow 2.7.0
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2023-21115 Session fixation in Apache Airflow web interfacePriority MEDIUM 41
- TI-2023-19005 Apache Airflow: Exposure of sensitive connection information, DOS and SSRF on "test connection" featurePriority LOW 39
Timeline
- 2026-10-02 Threatist record created from CVE-2023-39441
- 2026-10-03 Alias added: GHSA-5f35-pq34-c87q
References
Patch 5
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
Sources
- CVE-2023-39441 · CVE Program
- CVE-2023-39441 · NVD
- FIRST EPSS
- GHSA-5f35-pq34-c87q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences