Bump cryptography to 50.0.1 (clears 5 Dependabot CVE alerts) - #13
Merged
Merged
Conversation
Raises cryptography from 43.0.1 to 50.0.1, resolving the five open Dependabot alerts against it: - GHSA-jwv3-5hgf-82ww / CVE-2026-69249 path building, exponential (high) - GHSA-537c-gmf6-5ccf vulnerable OpenSSL in wheels (high) - GHSA-r6ph-v2qm-q3c2 / CVE-2026-26007 SECT curve subgroup attack (high) - GHSA-m959-cc7f-wv43 / CVE-2026-34073 DNS name constraints (low) - GHSA-79v4-65xg-pq4g / CVE-2024-12797 vulnerable OpenSSL in wheels (low) The required floor is 49.0.0 (the path-building fix); 50.0.1 is the latest. cryptography 50 requires Python >=3.9, matching the project. The TLS/truststore tests in test_vastdb_session exercise cryptography directly and pass, and `pip check` reports no broken requirements. The sixth alert (pyarrow GHSA-rgxp-2hwp-jwgg / CVE-2026-25087) is intentionally NOT addressed here: the fix needs pyarrow>=23.0.1, but vastdb==v1.3.1 pins ibis-framework==9.0.0 which caps pyarrow<17 (and pyarrow 23 needs Python>=3.10 while this project supports 3.9). It cannot be resolved without upgrading vastdb, so it is left for a separate change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G7cjFLk6huEsGcV6nG21n5
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
Raises
cryptographyfrom43.0.1→50.0.1, clearing 5 of the 6 open Dependabot alerts onmain(all thecryptographyones). The 6th (pyarrow) is blocked by thevastdbpin — see below.Alerts resolved (cryptography)
The binding floor is 49.0.0 (path-building fix);
50.0.1is the current latest.cryptography50 requires Python>=3.9, matching this project'srequires-python.Not addressed here: pyarrow (GHSA-rgxp-2hwp-jwgg / CVE-2026-25087, High)
The fix requires
pyarrow>=23.0.1, but:vastdb==v1.3.1hard-pinsibis-framework==9.0.0, which requirespyarrow<17— so no fixed pyarrow is installable alongside the current SDK.pyarrow23.x also requires Python >=3.10, while this project supports 3.9.Resolving it means upgrading
vastdb(and transitivelyibis), which is a larger, behavior-affecting change and out of scope for a security patch. Tracking separately.Testing
hatch test→ 28 passed (incl. the 20 TLS/truststore tests that usecryptography's PKCS12/JKS loading and X.509 APIs directly)hatch run pip check→ no broken requirementspyarrow/ibisunchanged (16.1.0 / 9.0.0)🤖 Generated with Claude Code
https://claude.ai/code/session_01G7cjFLk6huEsGcV6nG21n5