Skip to content

[Snyk] Security upgrade cryptography from 45.0.7 to 46.0.7#49

Open
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-9abdde06844b7ea615bacaff4b80b8b2
Open

[Snyk] Security upgrade cryptography from 45.0.7 to 46.0.7#49
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-9abdde06844b7ea615bacaff4b80b8b2

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io bot commented Apr 10, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • py3_test_requirements.txt
⚠️ Warning
moto 3.1.19 requires cryptography, 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:

🦉 Out-of-bounds Write

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-15953315
@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 10, 2026

Merge Risk: High

This upgrade to cryptography version 46.0.x introduces several breaking changes, including the removal of deprecated APIs and the end of support for Python 3.7.

Breaking Changes:

  • Python 3.7 Support Removed: This version drops support for Python 3.7, which is now end-of-life. Projects must be running on Python 3.8 or newer. [1, 5]
  • API Removals:
    • The deprecated method get_attribute_for_oid on CertificateSigningRequest has been removed. Code must be updated to use get_attribute_for_oid() instead. [5]
    • The deprecated CAST5, SEED, IDEA, and Blowfish ciphers have been removed from the cryptography.hazmat.primitives.ciphers module. They were moved to the cryptography.hazmat.decrepit module in a previous version and are now fully removed from their original location. [1, 5]

Recommendation:

  • Ensure your environment is running Python 3.8 or a more recent version.
  • Search your codebase for usage of get_attribute_for_oid and the removed ciphers (CAST5, SEED, IDEA, Blowfish) and refactor them as required.

Source: Cryptography 46.0.0 Changelog

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

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 10, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

0 participants