Skip to content

[Snyk] Security upgrade cryptography from 45.0.7 to 49.0.0 - #319

Open
adamlaska wants to merge 2 commits into
mainfrom
snyk-fix-f204ee4eca97b4f370a0331d5b17d905
Open

[Snyk] Security upgrade cryptography from 45.0.7 to 49.0.0#319
adamlaska wants to merge 2 commits into
mainfrom
snyk-fix-f204ee4eca97b4f370a0331d5b17d905

Conversation

@adamlaska

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt
⚠️ Warning
pyquery 2.1.0 requires cssselect, which is not installed.
pyopenssl 25.3.0 requires cryptography, which is not installed.
drf-spectacular 0.29.0 requires jsonschema, which is not installed.
django-tastypie 0.15.1 requires python-mimeparse, which is not installed.
celery 5.3.0 requires kombu, which is not installed.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling

@adamlaska

Copy link
Copy Markdown
Owner Author

Merge Risk: High

This upgrade from cryptography 45.0.7 to 49.0.0 spans multiple major versions and includes significant breaking changes that require both code and environment updates.

Key Breaking Changes:

  • Python Version Requirement: Support for Python 3.7 and 3.8 has been removed. This upgrade requires Python 3.9 or later. [1]
  • OpenSSL Version Requirement: Support for OpenSSL 1.1.x is removed. OpenSSL 3.0.0 or later is now required. [1]
  • API Removals: Several deprecated algorithms and modes have been removed and will cause code to fail if used:
    • TripleDES and ARC4 are removed from the cipher module as of v48.0.0. [2, 10]
    • CFB, OFB, and CFB8 are removed from the modes module as of v49.0.0. [2]
    • Camellia is removed from the cipher module as of v49.0.0. [2]
  • Elliptic Curve Support: Support for binary elliptic curves (SECT* classes) was removed in v47.0.0. [1]
  • Stricter Validation: As of v48.0.0, loading an X.509 CRL with a mismatched signature algorithm will now raise a ValueError. [1]

Recommendation:
Due to the multiple breaking changes, a careful review of your code is necessary. You must ensure your environment meets the new Python and OpenSSL version requirements. Any code using the removed ciphers or modes must be refactored. It is highly recommended to test this upgrade in a staging environment before deploying to production.

Source: Cryptography Changelog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@google-cla

google-cla Bot commented Aug 5, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

2 participants