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.9.3 [SECURITY] #4629

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

openverse-bot
Copy link
Collaborator

This PR contains the following updates:

Package Update Change
apache-airflow (changelog) patch ==2.9.2 -> ==2.9.3

GitHub Vulnerability Alerts

CVE-2024-39877

Apache Airflow 2.4.0, and versions before 2.9.3, has a vulnerability that allows authenticated DAG authors to craft a doc_md parameter in a way that could execute arbitrary code in the scheduler context, which should be forbidden according to the Airflow Security model. Users should upgrade to version 2.9.3 or later which has removed the vulnerability.

CVE-2024-39863

Apache Airflow versions before 2.9.3 have a vulnerability that allows an authenticated attacker to inject a malicious link when installing a provider. Users are recommended to upgrade to version 2.9.3, which fixes this issue.


Release Notes

apache/airflow (apache-airflow)

v2.9.3

Compare Source

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

Time unit for scheduled_duration and queued_duration changed (#​37936)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

scheduled_duration and queued_duration metrics are now emitted in milliseconds instead of seconds.

By convention all statsd metrics should be emitted in milliseconds, this is later expected in e.g. prometheus statsd-exporter.

Support for OpenTelemetry Metrics is no longer "Experimental" (#​40286)
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Experimental support for OpenTelemetry was added in 2.7.0 since then fixes and improvements were added and now we announce the feature as stable.

Bug Fixes
"""""""""

  • Fix calendar view scroll (#​40458)
  • Validating provider description for urls in provider list view (#​40475)
  • Fix compatibility with old MySQL 8.0 (#​40314)
  • Fix dag (un)pausing won't work on environment where dag files are missing (#​40345)
  • Extra being passed to SQLalchemy (#​40391)
  • Handle unsupported operand int + str when value of tag is int (job_id) (#​40407)
  • Fix TriggeredDagRunOperator triggered link (#​40336)
  • Add [webserver]update_fab_perms to deprecated configs (#​40317)
  • Swap dag run link from legacy graph to grid with graph tab (#​40241)
  • Change httpx to requests in file_task_handler (#​39799)
  • Fix import future annotations in venv jinja template (#​40208)
  • Ensures DAG params order regardless of backend (#​40156)
  • Use a join for TI notes in TI batch API endpoint (#​40028)
  • Improve trigger UI for string array format validation (#​39993)
  • Disable jinja2 rendering for doc_md (#​40522)
  • Skip checking sub dags list if taskinstance state is skipped (#​40578)
  • Recognize quotes when parsing urls in logs (#​40508)

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

  • Add notes about passing secrets via environment variables (#​40519)
  • Revamp some confusing log messages (#​40334)
  • Add more precise description of masking sensitive field names (#​40512)
  • Add slightly more detailed guidance about upgrading to the docs (#​40227)
  • Metrics allow_list complete example (#​40120)
  • Add warning to deprecated api docs that access control isn't applied (#​40129)
  • Simpler command to check local scheduler is alive (#​40074)
  • Add a note and an example clarifying the usage of DAG-level params (#​40541)
  • Fix highlight of example code in dags.rst (#​40114)
  • Add warning about the PostgresOperator being deprecated (#​40662)
  • Updating airflow download links to CDN based links (#​40618)
  • Fix import statement for DatasetOrTimetable example (#​40601)
  • Further clarify triage process (#​40536)
  • Fix param order in PythonOperator docstring (#​40122)
  • Update serializers.rst to mention that bytes are not supported (#​40597)

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

  • Upgrade build installers and dependencies (#​40177)
  • Bump braces from 3.0.2 to 3.0.3 in /airflow/www (#​40180)
  • Upgrade to another version of trove-classifier (new CUDA classifiers) (#​40564)
  • Rename "try_number" increments that are unrelated to the airflow concept (#​39317)
  • Update trove classifiers to the latest version as build dependency (#​40542)
  • Upgrade to latest version of hatchling as build dependency (#​40387)
  • Fix bug in SchedulerJobRunner._process_executor_events (#​40563)
  • Remove logging for "blocked" events (#​40446)

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, 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 July 17, 2024 18:07
@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 Jul 17, 2024
Copy link
Collaborator

@AetherUnbound AetherUnbound left a comment

Choose a reason for hiding this comment

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

Tested data refresh and ingestion locally, both worked great!

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.

Same, it's all working ✅

@krysal krysal merged commit e8026d2 into main Jul 17, 2024
81 checks passed
@krysal krysal deleted the gha-renovatepypi-apache-airflow-vulnerability branch July 17, 2024 19:49
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: low Low priority and doesn't need to be rushed 🧱 stack: catalog Related to the catalog and Airflow DAGs 🐍 tech: python Involves Python
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants