[Snyk] Security upgrade marshmallow from 3.19.0 to 3.26.2#6
Conversation
…lities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-MARSHMALLOW-14550833
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Code Review
This pull request adds the marshmallow dependency to requirements-composer.txt to address a security vulnerability identified by Snyk. The reviewer recommends pinning the package to an exact version instead of using a minimum version constraint to ensure deterministic and reproducible builds.
| @@ -1 +1,2 @@ | |||
| apache-airflow-backport-providers-google==2021.3.3 | |||
| marshmallow>=3.26.2 # not directly required, pinned by Snyk to avoid a vulnerability | |||
There was a problem hiding this comment.
To ensure deterministic and reproducible builds, it is recommended to pin dependencies to an exact version using == instead of >=. This prevents potential breaking changes in future releases from affecting the environment, which is particularly important for stability in production workflows.
marshmallow==3.26.2 # not directly required, pinned by Snyk to avoid a vulnerability
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
composer/workflows/requirements-composer.txtImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Summary by cubic
Pins
marshmallowto>=3.26.2incomposer/workflows/requirements-composer.txtto fix vulnerabilitySNYK-PYTHON-MARSHMALLOW-14550833. This prevents installing vulnerable versions (e.g., 3.19.0) via transitive dependencies and keeps workflow builds secure.Written for commit 2ba0e43. Summary will update on new commits. Review in cubic