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

Upgrade Jinja2 dependency version specification to address CVE-2024-22195 #55

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

QMalcolm
Copy link
Contributor

CVE-2024-22195 identified an issue in Jinja2 versions <= 3.1.2. To move this project off of Jinja2==3.1.2, we had to upgrade to the latest version of dbt-core (1.7.9) or greater. Doing so required us to also upgrade the dbt-duckdb version.

We wanted to move this project to the latest dbt-core version to ensure
it operates on a version of dbt-core that has addressed the security
issue (CVE-2024-22195) with Jinja2. By association we also had to upgrade
the version of dbt-duckdb being used. Tangentially we also upgraded the
version of sqlfluff.
…ncies

The `requirements.txt` was regenerated by first deleting the existing
`requirements.txt` and then running `$ pip-compile`.
iniconfig==2.0.0
# via pytest
isodate==0.6.1
# via
# agate
# dbt-core
jinja2==3.1.2
jinja2==3.1.3
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the line we care the most about 🙂

@QMalcolm QMalcolm merged commit 9b13827 into duckdb Mar 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants