Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency apache-airflow to v2.10.3 [SECURITY] #5154

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

openverse-bot
Copy link
Collaborator

This PR contains the following updates:

Package Update Change
apache-airflow (changelog) patch ==2.10.2 -> ==2.10.3

GitHub Vulnerability Alerts

CVE-2024-50378

Airflow versions before 2.10.3 have a vulnerability that allows authenticated users with audit log access to see sensitive values in audit logs which they should not see. When sensitive variables were set via airflow CLI, values of those variables appeared in the audit log and were stored unencrypted in the Airflow database. While this risk is limited to users with audit log access, it is recommended to upgrade to Airflow 2.10.3 or a later version, which addresses this issue. Users who previously used the CLI to set secret variables should manually delete entries with those variables from the log table.


Release Notes

apache/airflow (apache-airflow)

v2.10.3

Compare Source

Significant Changes
^^^^^^^^^^^^^^^^^^^

No significant changes.

Bug Fixes
"""""""""

  • Improves the handling of value masking when setting Airflow variables for enhanced security. (#​43123) (#​43278)
  • Adds support for task_instance_mutation_hook to handle mapped operators with index 0. (#​42661) (#​43089)
  • Fixes executor cleanup to properly handle zombie tasks when task instances are terminated. (#​43065)
  • Adds retry logic for HTTP 502 and 504 errors in internal API calls to handle webserver startup issues. (#​42994) (#​43044)
  • Restores the use of separate sessions for writing and deleting RTIF data to prevent StaleDataError. (#​42928) (#​43012)
  • Fixes PythonOperator error by replacing hyphens with underscores in DAG names. (#​42993)
  • Improving validation of task retries to handle None values (#​42532) (#​42915)
  • Fixes error handling in dataset managers when resolving dataset aliases into new datasets (#​42733)
  • Enables clicking on task names in the DAG Graph View to correctly select the corresponding task. (#​38782) (#​42697)
  • Prevent redirect loop on /home with tags/last run filters (#​42607) (#​42609) (#​42628)
  • Support of host.name in OTEL metrics and usage of OTEL_RESOURCE_ATTRIBUTES in metrics (#​42428) (#​42604)
  • Reduce eyestrain in dark mode with reduced contrast and saturation (#​42567) (#​42583)
  • Handle ENTER key correctly in trigger form and allow manual JSON (#​42525) (#​42535)
  • Ensure DAG trigger form submits with updated parameters upon keyboard submit (#​42487) (#​42499)
  • Do not attempt to provide not stringified objects to UI via xcom if pickling is active (#​42388) (#​42486)
  • Fix the span link of task instance to point to the correct span in the scheduler_job_loop (#​42430) (#​42480)
  • Bugfix task execution from runner in Windows (#​42426) (#​42478)
  • Allows overriding the hardcoded OTEL_SERVICE_NAME with an environment variable (#​42242) (#​42441)
  • Improves trigger performance by using selectinload instead of joinedload (#​40487) (#​42351)
  • Suppress warnings when masking sensitive configs (#​43335) (#​43337)
  • Masking configuration values irrelevant to DAG author (#​43040) (#​43336)
  • Execute templated bash script as file in BashOperator (#​43191)
  • Fixes schedule_downstream_tasks to include upstream tasks for one_success trigger rule (#​42582) (#​43299)
  • Add retry logic in the scheduler for updating trigger timeouts in case of deadlocks. (#​41429) (#​42651)
  • Mark all tasks as skipped when failing a dag_run manually (#​43572)
  • Fix TrySelector for Mapped Tasks in Logs and Details Grid Panel (#​43566)
  • Conditionally add OTEL events when processing executor events (#​43558) (#​43567)
  • Fix broken stat scheduler_loop_duration (#​42886) (#​43544)
  • Ensure total_entries in /api/v1/dags (#​43377) (#​43429)
  • Include limit and offset in request body schema for List task instances (batch) endpoint (#​43479)
  • Don't raise a warning in ExecutorSafeguard when execute is called from an extended operator (#​42849) (#​43577)

Miscellaneous
"""""""""""""

Doc Only Changes
""""""""""""""""


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@openverse-bot openverse-bot requested a review from a team as a code owner November 8, 2024 18:39
@openverse-bot openverse-bot added dependencies Pull requests that update a dependency file 🐍 tech: python Involves Python 💻 aspect: code Concerns the software code in the repository 🟩 priority: low Low priority and doesn't need to be rushed 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🧱 stack: catalog Related to the catalog and Airflow DAGs labels Nov 8, 2024
@openverse-bot openverse-bot requested review from krysal and obulat and removed request for a team November 8, 2024 18:39
@openverse-bot openverse-bot force-pushed the gha-renovatepypi-apache-airflow-vulnerability branch from 8fbd6ec to 02c9778 Compare November 11, 2024 15:06
@krysal krysal added 🟨 priority: medium Not blocking but should be addressed soon and removed 🟩 priority: low Low priority and doesn't need to be rushed labels Nov 11, 2024
Copy link
Member

@krysal krysal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran a few DAGs, including a data refresh, and everything is working fine. LGTM.

@krysal krysal merged commit 1b64d10 into main Nov 11, 2024
56 checks passed
@krysal krysal deleted the gha-renovatepypi-apache-airflow-vulnerability branch November 11, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository dependencies Pull requests that update a dependency file 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: catalog Related to the catalog and Airflow DAGs 🐍 tech: python Involves Python
Projects
Status: 🤝 Merged
Development

Successfully merging this pull request may close these issues.

2 participants