Skip to content

Bump cryptography to 50.0.1 (clears 5 Dependabot CVE alerts) - #13

Merged
snowch merged 1 commit into
mainfrom
claude/bump-cryptography-cves
Sep 11, 2026
Merged

snowch merged 1 commit into
mainfrom
claude/bump-cryptography-cves

Conversation

@snowch

@snowch snowch commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Raises cryptography from 43.0.150.0.1, clearing 5 of the 6 open Dependabot alerts on main (all the cryptography ones). The 6th (pyarrow) is blocked by the vastdb pin — see below.

Alerts resolved (cryptography)

Alert Severity Fixed in
GHSA-jwv3-5hgf-82ww / CVE-2026-69249 — exponential path building High 49.0.0
GHSA-537c-gmf6-5ccf — vulnerable OpenSSL in wheels High 48.0.1
GHSA-r6ph-v2qm-q3c2 / CVE-2026-26007 — SECT curve subgroup attack High 46.0.5
GHSA-m959-cc7f-wv43 / CVE-2026-34073 — DNS name constraints Low 46.0.6
GHSA-79v4-65xg-pq4g / CVE-2024-12797 — vulnerable OpenSSL in wheels Low 44.0.1

The binding floor is 49.0.0 (path-building fix); 50.0.1 is the current latest. cryptography 50 requires Python >=3.9, matching this project's requires-python.

Not addressed here: pyarrow (GHSA-rgxp-2hwp-jwgg / CVE-2026-25087, High)

The fix requires pyarrow>=23.0.1, but:

  • vastdb==v1.3.1 hard-pins ibis-framework==9.0.0, which requires pyarrow<17 — so no fixed pyarrow is installable alongside the current SDK.
  • pyarrow 23.x also requires Python >=3.10, while this project supports 3.9.

Resolving it means upgrading vastdb (and transitively ibis), 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 use cryptography's PKCS12/JKS loading and X.509 APIs directly)
  • hatch run pip check → no broken requirements
  • pyarrow/ibis unchanged (16.1.0 / 9.0.0)

🤖 Generated with Claude Code

https://claude.ai/code/session_01G7cjFLk6huEsGcV6nG21n5

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
@snowch
snowch merged commit 53d1cec into main Sep 11, 2026
12 checks passed
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