Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow
  4. ›
  5. CVE-2024-45498

CVE-2024-45498: Apache Airflow vulnerable to Improper Encoding or Escaping of Output

September 7, 2024 (updated November 25, 2024)

Example DAG: example_inlet_event_extra.py shipped with Apache Airflow version 2.10.0 has a vulnerability that allows an authenticated attacker with only DAG trigger permission to execute arbitrary commands. If you used that example as the base of your DAGs - please review if you have not copied the dangerous example; see https://github.com/apache/airflow/pull/41873  for more information. We recommend against exposing the example DAGs in your deployment. If you must expose the example DAGs, upgrade Airflow to version 2.10.1 or later.

References

  • github.com/advisories/GHSA-c392-whpc-vfpr
  • github.com/apache/airflow
  • github.com/apache/airflow/commit/09ec2616568f8a18e0d5fe408110fae06ddf748f
  • github.com/apache/airflow/pull/41873
  • lists.apache.org/thread/tl7lzczcqdmqj2pcpbvtjdpd2tb9561n
  • nvd.nist.gov/vuln/detail/CVE-2024-45498

Code Behaviors & Features

Detect and mitigate CVE-2024-45498 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.10.0 before 2.10.1, version 2.10.0

Fixed versions

  • 2.10.1

Solution

Upgrade to version 2.10.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

pypi/apache-airflow/CVE-2024-45498.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 May 2025 12:14:48 +0000.