security: upgrade authlib, cryptography, and dependent packages#7729
Open
wtfiwtz wants to merge 4 commits into
Open
security: upgrade authlib, cryptography, and dependent packages#7729wtfiwtz wants to merge 4 commits into
wtfiwtz wants to merge 4 commits into
Conversation
Upgrade authlib to 1.7.2, which requires a chain of dependent upgrades due to minimum version constraints in the dependency tree. Core security upgrades: - authlib: 0.15.5 → 1.7.2 (OAuth/OIDC CVE fixes including CVE-2024-37568) - cryptography: 43.0.1 → 48.0.0 (required by authlib 1.7, multiple OpenSSL CVEs) - pyjwt: 2.4.0 → 2.12.0 (required by snowflake, fixes CVE-2022-29217) - pyopenssl: 24.2.1 → 26.2.0 (required by cryptography 48) - requests: 2.32.3 → 2.33.0 (required by snowflake 4.5) Data source dependency upgrades (required by above): - snowflake-connector-python: 3.12.3 → 4.5.0 (required cffi >=2.0, cryptography >=45) - New transitive deps: azure-core, grpcio, h11, httpcore, marshmallow OAuth API migration for authlib 1.x: - Pass explicit client_id/client_secret to oauth.register() in google_oauth.py - authlib 1.x requires explicit OAuth client credentials in register() call These upgrades form a tightly coupled dependency chain where each package requires specific minimum versions of others, making them impractical to split into separate PRs. Related: split from orchestrated-io/redash#7719 Co-authored-by: Cursor <cursoragent@cursor.com>
10 tasks
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.
What type of PR is this?
Description
Upgrade authlib to 1.7.2, which requires a chain of dependent upgrades due to minimum version constraints in the dependency tree.
Core security upgrades:
Data source dependency upgrades (required by above):
OAuth API migration for authlib 1.x:
client_id/client_secrettooauth.register()ingoogle_oauth.pyThese upgrades form a tightly coupled dependency chain where each package requires specific minimum versions of others, making them impractical to split into separate PRs:
How is this tested?
Related Tickets & Documents
Split from orchestrated-io/redash#7719 per @zachliu's review feedback. This PR groups tightly coupled dependencies that cannot be upgraded independently.
Part of the security vulnerability remediation work tracked in #7711.
Note
This PR is marked as draft until manual testing is complete.
Made with Cursor