security: bump 5 python dependencies to clear moderate dependabot advisories - #556
Merged
Conversation
Update the lockfile to patched versions and raise the directly-declared floors so a future re-lock cannot regress: - asyncssh 2.22.0 -> 2.23.1 (GHSA-g794-3fmp-753h, AuthorizedKeysFile %u path traversal) - cryptography 46.0.6 -> 49.0.0 (GHSA-p423-j2cm-9vmq, non-contiguous-buffer overflow) - idna 3.11 -> 3.18 (GHSA-65pc-fj4g-8rjx, encode() CVE-2024-3651 bypass) - pytest 9.0.2 -> 9.1.0 (GHSA-6w46-j5rx-g56g, tmpdir handling) - starlette 1.0.0 -> 1.3.1 (GHSA-86qp-5c8j-p5mr, missing Host-header validation) Full nox verify (hygiene, policy, lint, contracts, full pytest + integration, docs) passes under the bumped versions.
|
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
Clears the 5 open moderate Dependabot advisories on the repository (all in
implementations/python/uv.lock). These are dependency CVEs, independent of the schema-publication-ledger fix (#555) — that change touched only a JSON manifest, so it could not have resolved them.Changes
Bumped to patched versions and raised the directly-declared pyproject floors (cryptography / asyncssh / pytest) so a future
uv lockcannot regress:AuthorizedKeysFile %upath traversalencode()CVE-2024-3651 bypassidnaandstarletteare transitive (no direct floor to raise); the lockfile bump is the fix.Verification
Full
nox -s verify -- --skip-requirementpasses under the bumped versions — hygiene, policy, lint, contracts, the full pytest suite (599s) + integration, and the docs build. Thecryptography46→49 major jump is exercised by the test suite with no failures.