Skip to content

[Snyk] Security upgrade oauthlib from 3.2.2 to 4.0.0 - #44

Open
anaconda-security-bot wants to merge 1 commit into
mainfrom
snyk-fix-5891349fbc4069d79f20682b5f64e7a2
Open

anaconda-security-bot wants to merge 1 commit into
mainfrom
snyk-fix-5891349fbc4069d79f20682b5f64e7a2

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

🦉 Cross-site Scripting (XSS)

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

Copy link
Copy Markdown
Author

Merge Risk: High

This major version upgrade from 3.2.2 to 4.0.0 introduces significant breaking changes, including API removals and changes in validation logic.

Key Breaking Changes:

  • JSONP Support Removed: Support for JSONP has been completely removed from the token revocation endpoint. The enable_jsonp parameter in RevocationEndpoint and the callback parameter in prepare_token_revocation_request are no longer available. Implementations relying on JSONP for cross-origin requests must be updated, for example, to use CORS.
  • Client Authentication Validation Order Changed: The grant_type parameter is now validated before client authentication. This reorganization could impact how errors are handled and may affect custom grant validation logic.
  • Python 3.8 Support Dropped: This version removes support for Python 3.8, which is end-of-life.

Source: GitHub Release Notes

Recommendation: Before upgrading, verify that your application is not using the now-removed JSONP functionality for token revocation. Review your client authentication and grant validation logic to ensure compatibility with the new validation order. Ensure your environment is running a Python version newer than 3.8.

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