Skip to content

[Snyk] Security upgrade cryptography from 47.0.0 to 49.0.0 - #24

Open
bkizer-tenable wants to merge 1 commit into
masterfrom
snyk-fix-dcb9b47df48b9afb95f9a296513ac133
Open

[Snyk] Security upgrade cryptography from 47.0.0 to 49.0.0#24
bkizer-tenable wants to merge 1 commit into
masterfrom
snyk-fix-dcb9b47df48b9afb95f9a296513ac133

Conversation

@bkizer-tenable

Copy link
Copy Markdown

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

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

@bkizer-tenable

Copy link
Copy Markdown
Author

Merge Risk: High

This upgrade from version 47.0.0 to 49.0.0 spans two major versions and introduces significant breaking changes, including dropping support for older Python and OpenSSL versions, removing algorithms, and enforcing stricter API validation.

Key Breaking Changes:

  • Python Version: Support for Python 3.8 was removed in version 48.0.0. This upgrade requires Python 3.9 or later.
  • OpenSSL Version: Support for OpenSSL 1.1.x was removed in version 47.0.0. OpenSSL 3.0.0 or later is now required.
  • macOS Support: Support for x86_64 macOS was removed in version 49.0.0. Users on this architecture should move to a 64-bit Python installation.
  • Algorithm Removals:
    • Support for binary elliptic curves (SECT* classes) was removed in 47.0.0.
    • Several deprecated ciphers and modes, including Camellia, CFB, OFB, and CFB8, were removed in 49.0.0.
  • Stricter Validation:
    • ChaCha20 nonce handling is now stricter to prevent counter overflow, raising a ValueError for oversized data.
    • Loading X.509 CRLs and keys with unsupported or invalid parameters will now raise errors immediately instead of during validation.

Recommendation: Before merging, verify that your environment meets the new Python and OpenSSL version requirements. Audit your codebase for any usage of the removed algorithms and ciphers. Thorough testing is required to ensure compatibility with the stricter validation rules.

Source: GitHub Changelog

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

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