Skip to content

fix(deps): bump cryptography floor to >=48.0.1 for OpenSSL fix#516

Merged
deanq merged 1 commit into
mainfrom
fix/SLS-312-cryptography-pin
Jun 23, 2026
Merged

fix(deps): bump cryptography floor to >=48.0.1 for OpenSSL fix#516
deanq merged 1 commit into
mainfrom
fix/SLS-312-cryptography-pin

Conversation

@deanq

@deanq deanq commented Jun 23, 2026

Copy link
Copy Markdown
Member

Problem

requirements.txt pins cryptography < 47.0.0. With no lower bound, pip resolves to the newest release below 47 → 46.0.7, which bundles a vulnerable statically-linked OpenSSL (GHSA-537c-gmf6-5ccf, per the OpenSSL advisory of 2026-06-09). The fix landed in cryptography 48.0.1, which the cap excludes — so every install is held back on a vulnerable wheel.

The cap is dependabot-managed and only bumps one major at a time (last bump: #460, <46<47). The OpenSSL fix is in a later major, so dependabot hasn't caught up.

Fix

-cryptography < 47.0.0
+cryptography >= 48.0.1

Sets a floor at the patched version. runpod-python requires Python >=3.10; cryptography 48+ requires >=3.9, so there is no Python-floor conflict.

Verification

  • Resolves to cryptography 49.0.0, bundling OpenSSL 4.0.1 (9 Jun 2026) — the patched build.
  • make quality-check: 478 passed, 94.11% coverage.

Fixes #511

The `cryptography < 47.0.0` cap forced resolution to 46.0.7, which
bundles a vulnerable statically-linked OpenSSL (GHSA-537c-gmf6-5ccf,
per the OpenSSL advisory of 2026-06-09). The fix landed in
cryptography 48.0.1. Set a floor at >=48.0.1 so installs pull the
patched wheel.

Fixes #511
@deanq deanq requested review from KAJdev, Yhlong00 and jhcipar June 23, 2026 01:23
@deanq deanq merged commit 18c6841 into main Jun 23, 2026
9 checks passed
@deanq deanq deleted the fix/SLS-312-cryptography-pin branch June 23, 2026 01:50
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.

Cryptography pinned to known-vulnerable version

2 participants