Skip to content

[Snyk] Security upgrade tornado from 6.1 to 6.5.5 - #2

Open
ryanmcmorrowsnyk wants to merge 1 commit into
mainfrom
snyk-fix-32ca8e0e312e7d81cbcfa3577670188f
Open

[Snyk] Security upgrade tornado from 6.1 to 6.5.5#2
ryanmcmorrowsnyk wants to merge 1 commit into
mainfrom
snyk-fix-32ca8e0e312e7d81cbcfa3577670188f

Conversation

@ryanmcmorrowsnyk

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
inflect 6.0.5 has requirement pydantic<2,>=1.9.1, but you have pydantic 1.8.2.
graphql-relay 3.1.0 has requirement typing-extensions<4,>=3.7; python_version < "3.8", but you have typing-extensions 4.7.1.
google-api-core 1.34.1 has requirement protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<4.0.0dev,>=3.19.5, but you have protobuf 4.24.4.

Breaking Change Risk

Merge Risk: Medium

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

@ryanmcmorrowsnyk

Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This upgrade for Tornado from version 6.1 to 6.5.5 includes several minor version bumps that introduce changes to environment support, stricter request parsing, and new deprecations.

Key Changes:

  • Python Version Requirement: The minimum required Python version has been increased. Version 6.2 requires Python 3.7+, version 6.3 requires Python 3.8+, and version 6.5 requires Python 3.9+. [1, 2, 3] Ensure your environment meets the new requirement.
  • Stricter Header Parsing: Versions 6.3.3 and 6.4.1 introduced stricter parsing for Content-Length and Transfer-Encoding headers to address security vulnerabilities like request smuggling. [4, 7] This may affect applications behind proxies that send non-compliant headers.
  • API Deprecations:
    • RequestHandler.get_secure_cookie and set_secure_cookie have been deprecated in favor of get_signed_cookie and set_signed_cookie. The old names are still available as aliases. [1]
    • RequestHandler.clear_all_cookies is deprecated without a direct replacement. [1]
    • TwitterMixin is deprecated and will be removed in a future version. [5]

Recommendation:
Verify that your Python environment is version 3.9 or newer. It is also recommended to test your application, especially if it operates behind a proxy, to ensure that the stricter header parsing does not cause unexpected behavior. Review code for usage of deprecated methods and plan for future updates.

Source: Tornado Release Notes

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