Skip to content

chore(deps): bump cryptography 49.0.0 → 50.0.0 (GHSA-g6cj-pr64-35w5) - #918

Open
eric-wang-1990 wants to merge 1 commit into
mainfrom
ai/bump-cryptography-cve
Open

chore(deps): bump cryptography 49.0.0 → 50.0.0 (GHSA-g6cj-pr64-35w5)#918
eric-wang-1990 wants to merge 1 commit into
mainfrom
ai/bump-cryptography-cve

Conversation

@eric-wang-1990

Copy link
Copy Markdown
Contributor

What

Bump cryptography 49.0.050.0.0 in poetry.lock.

Why

The Security Scan check (OSV-Scanner) fails on every open PR with one blocking finding:

[8.2] cryptography@49.0.0GHSA-g6cj-pr64-35w5 / CVE-2026-69247 / PYSEC-2026-3552
PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing.

Dependabot alert #42: vulnerable range >=44.0.0,<50.0.0, first patched in 50.0.0. The finding is present on main, so it blocks Security Scan on every PR (not just this one) until the pin moves.

How

cryptography is a transitive, optional dependency (pulled by pyspnego / requests-kerberos — the kerberos extra) with no upper bound declared in pyproject.toml. So this is a lock-only change — no pyproject.toml edit needed. Regenerated with Poetry 2.2.1 via the internal PyPI proxy; the only diff is the cryptography package block (version + wheel/sdist hashes). Its [package.dependencies] (cffi, typing-extensions), extras, and the lock content-hash are unchanged, and poetry check --lock is consistent.

Testing

  • poetry check --lock — consistent (content-hash unchanged; no pyproject drift).
  • Diff is a single 47/47 hunk entirely within the cryptography block.
  • OSV/Dependabot: 50.0.0 is outside the vulnerable range, clearing the blocking finding.

This pull request and its description were written by Isaac.


This PR was created with GitHub MCP.

Resolves the OSV/Dependabot finding (alert #42, CVSS 8.2) that blocks the
Security Scan check on every PR: cryptography >=44.0.0,<50.0.0 is
vulnerable, first patched in 50.0.0.

cryptography is a transitive, optional dependency (pyspnego /
requests-kerberos, the kerberos extra) with no upper bound in pyproject,
so this is a lock-only bump — no pyproject change. Regenerated with
Poetry 2.2.1 via the internal PyPI proxy; the only diff is the
cryptography package block (version + wheel/sdist hashes), dependencies
and content-hash unchanged.

Co-authored-by: Isaac
Signed-off-by: eric-wang-1990 <e.wang@databricks.com>
Copilot AI lite review requested due to automatic review settings August 18, 2026 08:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No issues identified by the review bot.

@eric-wang-1990 eric-wang-1990 added the skip-coverage Skip the coverage fan-out for this PR (no tracking issue opened in databricks-driver-test) label Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted skip-coverage Skip the coverage fan-out for this PR (no tracking issue opened in databricks-driver-test)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants