Skip to content

[Snyk] Security upgrade tornado from 6.2 to 6.5.9 - #47

Open
anaconda-security-bot wants to merge 1 commit into
mainfrom
snyk-fix-1418e6cea352562079d9917999494951
Open

anaconda-security-bot wants to merge 1 commit into
mainfrom
snyk-fix-1418e6cea352562079d9917999494951

Conversation

@anaconda-security-bot

Copy link
Copy Markdown

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):

  • requirements.txt

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

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-TORNADO-20415625
@anaconda-security-bot

Copy link
Copy Markdown
Author

Merge Risk: Medium

This upgrade for Tornado contains a drop in support for older Python versions and several security-related behavioral changes that require verification.

Key Changes:

  • Python Version Requirement: The minimum required Python version has been increased. Version 6.3 dropped support for Python 3.7, requiring 3.8+. Version 6.5 increased the requirement to Python 3.9+.
  • Security Hardening & Behavioral Changes:
    • HTTP Client Redirects: SimpleAsyncHTTPClient now strips Authorization and Cookie headers when following a redirect to a different origin. Applications relying on this behavior may need to handle redirects manually.
    • Stricter Parsing: Parsing for HTTP headers (Transfer-Encoding, Content-Length), cookies, and multipart forms is now stricter to prevent security vulnerabilities like request smuggling. This could cause errors with previously accepted malformed requests.
    • Error Code Change: Requests with invalid characters in the method name now return a 400 error instead of 405.
  • Deprecations:
    • RequestHandler.get_secure_cookie and set_secure_cookie have been renamed to get_signed_cookie and set_signed_cookie, respectively. The old names are deprecated aliases.
    • RequestHandler.clear_all_cookies and TwitterMixin are deprecated.

Recommendation:
Verify that your environment is running Python 3.9 or newer. Review application logs for new errors related to HTTP parsing after the upgrade, and test functionality that involves cross-origin redirects with authentication.

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