Skip to content

fix(deps): bump cryptography to 49.0.0 for VULN-88802#125

Open
shuningc wants to merge 1 commit into
mainfrom
VULN-88802-cryptography-upgrade
Open

fix(deps): bump cryptography to 49.0.0 for VULN-88802#125
shuningc wants to merge 1 commit into
mainfrom
VULN-88802-cryptography-upgrade

Conversation

@shuningc

Copy link
Copy Markdown
Contributor

Summary

  • Remediate VULN-88802: EC public-key loaders didn't verify the point is in the expected prime-order subgroup (small-subgroup attack on ECDSA/ECDH for SECT curves). Fixed in cryptography 46.0.5.
  • poetry.lock bumps cryptography 45.0.6 → 49.0.0 (transitive; no pyproject.toml change, content-hash unchanged).

Notes

  • Resolved to latest 49.0.0; satisfies all active constraints. openai-agents' <46 cap is only in its (inactive) encrypt extra.
  • No example pins reference cryptography.

Test plan

  • poetry check
  • Installed cryptography 49.0.0, poetry run pytest tests/ (1988 passed, 10 skipped)

Jira

VULN-88802

Remediate the missing prime-order subgroup validation in EC public key loading
(load_der/pem_public_key, EllipticCurvePublicNumbers.public_key; fixed in 46.0.5).
cryptography stays transitive (no pyproject change); lock resolves 49.0.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shuningc
shuningc marked this pull request as draft July 23, 2026 00:16
@shuningc
shuningc marked this pull request as ready for review July 23, 2026 00:18
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