CVE-2023-46215: Apache airflow providers celery Apache Airflow Celery Provider Insertion Vulnerability

HIGH
Advisory Identifier: GHSA-666g-rfc5-c9jv
CVSS 7.5
CWE-532
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2023-46215
GHSA Identifier GHSA-666g-rfc5-c9jv
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Apache airflow providers celery
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

apache-airflow-providers-celery fixed: 3.4.1
pip install apache-airflow-providers-celery>=3.4.1
apache-airflow fixed: 2.7.0
pip install apache-airflow>=2.7.0
Verify Direct and Transitive Dependencies

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

Insertion of Sensitive Information into Log File vulnerability in Apache Airflow Celery provider, Apache Airflow. Sensitive information logged as clear text when rediss, amqp, rpc protocols are used as Celery result backend Note: the vulnerability is about the information exposed in the logs not about accessing the logs. This issue affects Apache Airflow Celery provider: from 3.3.0 through 3.4.0; Apache Airflow: from 1.10.0 through 2.6.3. Users are recommended to upgrade Airflow Celery provider to version 3.4.1 and Apache Airlfow to version 2.7.0 which fixes the issue.

CVE-2023-46215 Affected Apache airflow providers celery Versions

2 component(s)
Fixed Versions:
3.4.12.7.0
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?
CVE-2023-46215 is a security vulnerability in Apache airflow providers celery involving Apache Airflow Celery provider Insertion of Sensitive Information into Log File vulnerability under CWE-532: Insertion of Sensitive Information into Log File.
Which Apache airflow providers celery versions are affected?
Affected versions include releases prior to 3.4.1, 2.7.0 across affected packages: apache-airflow-providers-celery, apache-airflow.
What version fixes CVE-2023-46215?
Upgrading to 3.4.1, 2.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apache-airflow-providers-celery affected?
Yes, apache-airflow-providers-celery is affected in releases prior to 3.4.1. Upgrade your dependency to 3.4.1 or later.
Is apache-airflow affected?
Yes, apache-airflow is affected in releases prior to 2.7.0. Upgrade your dependency to 2.7.0 or later.
What is the CVSS score of CVE-2023-46215?
CVE-2023-46215 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-46215?
CVE-2023-46215 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check PyPI dependencies for CVE-2023-46215?
Run the dependency tree command: 'pip show apache-airflow-providers-celery'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}