CVE-2023-39441
MEDIUM 5.9CVSS 3.1Apache Airflow missing Certificate Validation
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
- Published
- 23 Aug 2023
- Last modified
- 13 Jul 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- BIT-airflow-2023-39441GHSA-5f35-pq34-c87qPYSEC-2026-1130PYSEC-2026-2368PYSEC-2026-2371
- Sources
- NVDJSONOSV GHSA-5f35-pq34-c87qJSONOSV PYSEC-2026-1130JSONOSV PYSEC-2026-2368JSONOSV PYSEC-2026-2371JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | airflowcpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* |
< 2.7.0 | 2.7.0 |
| NVD | apache | apache-airflow-providers-imapcpe:2.3:a:apache:apache-airflow-providers-imap:*:*:*:*:*:*:*:* |
< 3.3.0 | 3.3.0 |
| NVD | apache | apache-airflow-providers-smtpcpe:2.3:a:apache:apache-airflow-providers-smtp:*:*:*:*:*:*:*:* |
< 1.3.0 | 1.3.0 |
| OSV | PyPI | apache-airflow-providers-smtp | < 1.3.0 | 1.3.0 |
| OSV | PyPI | apache-airflow-providers-imap | < 3.3.0 | 3.3.0 |
| OSV | PyPI | apache-airflow | < 2.7.0 | 2.7.0 |
References
- http://www.openwall.com/lists/oss-security/2023/08/23/2 · Mailing List, Patch, Third Party Advisory, WEB
- https://github.com/apache/airflow/pull/33070 · Patch, WEB
- https://github.com/apache/airflow/pull/33075 · Patch, WEB
- https://github.com/apache/airflow/pull/33108 · Patch, WEB
- https://lists.apache.org/thread/xzp4wgjg2b1o6ylk2595df8bstlbo1lb · Mailing List, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-39441 · ADVISORY
- https://github.com/apache/airflow/commit/38fc9cd823feafd8ec61d5d5c7eddb9e9162f755 · WEB
- https://github.com/apache/airflow/commit/3bd8f020e8b7bdeb7f618bdbdfb3557f117b29d3 · WEB
- https://github.com/apache/airflow/commit/dbacacbd4d476da757de148a4e747924c34fd7fe · WEB
- https://github.com/apache/airflow · PACKAGE
- https://pypi.org/project/apache-airflow · PACKAGE
- https://github.com/advisories/GHSA-5f35-pq34-c87q · ADVISORY
- https://pypi.org/project/apache-airflow-providers-imap · PACKAGE
- https://pypi.org/project/apache-airflow-providers-smtp · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Aug 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Aug 2023)