CVE-2023-46215: Apache airflow providers celery Apache Airflow Celery Provider Insertion Vulnerability
HIGHCVE-2023-46215 is a HIGH (CVSS 7.5) apache airflow celery provider insertion vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Apache airflow providers celery libraries in the PyPI ecosystem. The issue involves apache airflow celery provider insertion of sensitive information into log file vulnerability. Remediation is available by upgrading affected packages to version 3.4.1, 2.7.0.
CVE-2023-46215 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-46215
To remediate this vulnerability, upgrade all affected Apache airflow providers celery dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-airflow-providers-celery>=3.4.1
pip install apache-airflow>=2.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-airflow-providers-celery
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-46215, inspect your installed packages using pip:
pip show apache-airflow-providers-celery
Analyze the terminal output to locate any version of Apache airflow providers celery in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.1), your application is affected.
Note: The pip show apache-airflow-providers-celery command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Apache airflow providers celery, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-46215 Affected Apache airflow providers celery Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-airflow-providers-celery
|
PyPI |
≥ 3.3.0
< 3.4.1
|
3.4.1
|
|
apache-airflow
|
PyPI |
≥ 1.10.0
< 2.7.0
|
2.7.0
|
References
Frequently Asked Questions
What is CVE-2023-46215?
Which Apache airflow providers celery versions are affected?
What version fixes CVE-2023-46215?
Is apache-airflow-providers-celery affected?
Is apache-airflow affected?
What is the CVSS score of CVE-2023-46215?
What CWE is associated with CVE-2023-46215?
How can I check PyPI dependencies for CVE-2023-46215?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-666g-rfc5-c9jv",
"modified" : "2025-02-13T19:20:39Z",
"published" : "2023-10-28T09:30:44Z",
"aliases" : [ "CVE-2023-46215" ],
"summary" : "Apache Airflow Celery provider Insertion of Sensitive Information into Log File vulnerability",
"details" : "Insertion of Sensitive Information into Log File vulnerability in Apache Airflow Celery provider, Apache Airflow.\n\nSensitive information logged as clear text when rediss, amqp, rpc protocols are used as Celery result backend\nNote: the vulnerability is about the information exposed in the logs not about accessing the logs.\n\nThis issue affects Apache Airflow Celery provider: from 3.3.0 through 3.4.0; Apache Airflow: from 1.10.0 through 2.6.3.\n\nUsers are recommended to upgrade Airflow Celery provider to version 3.4.1 and Apache Airlfow to version 2.7.0 which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow-providers-celery"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.4.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-airflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.10.0"
}, {
"fixed" : "2.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-46215"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/airflow/pull/34954"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/airflow"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/wm1jfmks7r6m7bj0mq4lmw3998svn46n"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2023/10/28/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-31T22:21:08Z",
"nvd_published_at" : "2023-10-28T08:15:07Z"
}
}