Skip to content

chore(deps): bump cryptography 48.0.1 -> 50.0.0 (Dependabot alert #61) - #83

Open
pofallon wants to merge 1 commit into
mainfrom
chore/bump-cryptography-50
Open

chore(deps): bump cryptography 48.0.1 -> 50.0.0 (Dependabot alert #61)#83
pofallon wants to merge 1 commit into
mainfrom
chore/bump-cryptography-50

Conversation

@pofallon

Copy link
Copy Markdown
Contributor

Closes Dependabot alert #61 (high): cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing. Vulnerable range >= 44.0.0, < 50.0.0; first patched 50.0.0.

Why this isn't a Dependabot PR

Dependabot hadn't proposed it — the 7-day supply-chain cooldown in .github/dependabot.yml holds newly published versions before proposing them. Filed manually since the alert is a high.

Scope

Lockfile-only. uv lock --upgrade-package cryptography resolves 80 packages and touches exactly one:

Update cryptography v48.0.1 -> v50.0.0

No pyproject.toml change — cryptography is transitive:
cryptography <- pyjwt[crypto] <- mcp[crypto] <- claude-agent-sdk.

Exposure

Low in practice. The advisory covers PKCS#7 EnvelopedData decryption; the only path into cryptography here is pyjwt[crypto] for JWT signing/verification, which doesn't touch that surface. Bumping to clear the alert and keep the lock pin current.

Verification

make ci (lint + format-check + typecheck + test) green locally: 1024 passed, 40 skipped.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UBTr6Q6kTGUMQiwwBHcdMj

Addresses Dependabot alert #61: PKCS#7 EnvelopedData decryption
exposes a Bleichenbacher oracle through distinguishable errors and
timing. Transitive via pyjwt[crypto] <- mcp[crypto] <-
claude-agent-sdk; no direct use of the affected PKCS#7 surface, but
the lock pin is what the alert tracks.

Dependabot had not proposed this itself — the 7-day supply-chain
cooldown in .github/dependabot.yml holds newly published versions.
Lockfile-only change; `uv lock --upgrade-package cryptography`
touches no other package.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UBTr6Q6kTGUMQiwwBHcdMj
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