Skip to content

security: bump 5 python dependencies to clear moderate dependabot advisories - #556

Merged
Brad-Edwards merged 2 commits into
devfrom
chore-dependabot-security-bumps
Jun 18, 2026
Merged

security: bump 5 python dependencies to clear moderate dependabot advisories#556
Brad-Edwards merged 2 commits into
devfrom
chore-dependabot-security-bumps

Conversation

@Brad-Edwards

Copy link
Copy Markdown
Collaborator

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 lock cannot regress:

package from to advisory
asyncssh 2.22.0 2.23.1 GHSA-g794-3fmp-753hAuthorizedKeysFile %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-8rjxencode() 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

idna and starlette are transitive (no direct floor to raise); the lockfile bump is the fix.

Verification

Full nox -s verify -- --skip-requirement passes under the bumped versions — hygiene, policy, lint, contracts, the full pytest suite (599s) + integration, and the docs build. The cryptography 46→49 major jump is exercised by the test suite with no failures.

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.
@sonarqubecloud

Copy link
Copy Markdown

@Brad-Edwards
Brad-Edwards merged commit 8cbd442 into dev Jun 18, 2026
8 checks passed
@Brad-Edwards
Brad-Edwards deleted the chore-dependabot-security-bumps branch June 18, 2026 14:57
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.

1 participant