security: bump clerk-backend-api and cryptography#275
Open
christniel39-glitch wants to merge 1 commit intoabhi1693:masterfrom
Open
security: bump clerk-backend-api and cryptography#275christniel39-glitch wants to merge 1 commit intoabhi1693:masterfrom
christniel39-glitch wants to merge 1 commit intoabhi1693:masterfrom
Conversation
Author
|
Companion PR to #274. Recommended merge order:
This keeps rollout cleaner: behavior hardening first, then dependency lift. |
Author
|
@abhi1693 heads-up: this companion dependency/security update is also ready for review.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates backend security-related Python dependencies to remove a cryptography CVE path by upgrading clerk-backend-api to a version that no longer constrains cryptography<46.
Changes:
- Bumped
clerk-backend-apifrom4.2.0to5.0.2. - Bumped
cryptographyfrom45.0.7to46.0.5. - Refreshed
backend/uv.lockto reflect the new resolution.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| backend/pyproject.toml | Updates pinned runtime dependency versions for Clerk SDK and cryptography. |
| backend/uv.lock | Updates the lockfile entries and resolved artifacts for the upgraded dependencies. |
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.
Summary
Follow-up security dependency update to clear the
cryptographyCVE path discovered during audit.Changes
clerk-backend-api:4.2.0->5.0.2cryptography:45.0.7->46.0.5backend/uv.lockWhy this pairing
clerk-backend-api==4.2.0constrainedcryptographyto<46.0.0, which blocked applying the patch release. Moving to Clerk 5.x relaxes the bound, allowingcryptography==46.0.5.Validation
uv lockresolves successfully with the new versions.pip-auditagainst backend direct dependencies reports 0 known vulnerabilities.