Patch apache-airflow security advisories (bump to 2.11.1) - #6
Open
Mrassimo wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses the Dependabot
apache-airflowadvisories. Bumps to the latest 2.x release,2.11.1, in bothrequirements-dev.txtandpyproject.toml.What this fixes
Why not upgrade to 3.x
The other two alerts are only "patched" in the 3.x line, but neither actually affects a 2.x deployment:
AIRFLOW__CORE__LOAD_EXAMPLES=False.DeadlineReference) — the vulnerable Deadline feature is Airflow 3.x-only; the code path does not exist in 2.x.Going to 3.x would be a major migration (Dockerfile base image → Python ≥3.10,
webserver→api-server,db init→db migrate, DAG import paths,schedule_interval/provide_contextremovals) that couldn't be validated here — and would introduce the feature the deserialization CVE lives in. Staying on the patched 2.x line is the lower-risk fix.Changes
apache-airflow:>=2.7.0,<2.10.0→>=2.11.1,<3.0.0apache-airflow-providers-docker:>=3.5.0,<3.14.0→>=3.9.0,<4.0.0(2.x-compatible)pyproject.tomlNo DAG, Dockerfile, or compose changes required.
dags/ahgd_pipeline.pyremains 2.x-compatible.🤖 Generated with Claude Code