CVE-2023-39441
Apache Airflow SMTP Provider, Apache Airflow IMAP Provider, Apache Airflow: SMTP/IMAP client components allowed MITM due to missing Certificate Validation
Check your servers for CVE-2023-39441
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-39441 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 0.80%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 57.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 27 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-295 Improper Certificate Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache Airflow SMTP Provider |
affected before 1.30
Other versions: unaffected
|
| Apache Airflow IMAP Provider |
affected before 3.3.0
Other versions: unaffected
|
| Apache Airflow |
affected before 2.7.0
Other versions: unaffected
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-39441 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-39441RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-39441Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-39441
trivy image --scanners vuln IMAGE | grep CVE-2023-39441
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://lists.apache.org/thread/xzp4wgjg2b1o6ylk2595df8bstlbo1lb lists.apache.org · vendor advisory
Patches and release notes
- https://github.com/apache/airflow/pull/33075 github.com · patch
- https://github.com/apache/airflow/pull/33108 github.com · patch
- https://github.com/apache/airflow/pull/33070 github.com · patch
Other references
Source: the record CVE-2023-39441 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse