Skip to content

[Snyk] Security upgrade djangorestframework from 3.14.0 to 3.17.2 - #61

Open
nlaurance wants to merge 1 commit into
masterfrom
snyk-fix-767fdb126ba6907020ac57f11f1e5fa8
Open

nlaurance wants to merge 1 commit into
masterfrom
snyk-fix-767fdb126ba6907020ac57f11f1e5fa8

Conversation

@nlaurance

Copy link
Copy Markdown
Owner

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/main.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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-18853986
@nlaurance

Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This upgrade of Django REST Framework from 3.14.0 to 3.17.2 introduces new environment requirements and removes deprecated functionality.

Key Changes:

  • Python & Django Support: Support for Python versions older than 3.10 and Django versions older than 4.2 has been dropped across the 3.15-3.17 releases. Your project must be running on at least Python 3.10 and Django 4.2 to use version 3.17.x.
  • CoreAPI Removal: Support for coreapi for schema generation was completely removed in version 3.17.0. If your project relies on this for API documentation, you will need to migrate to an alternative solution.
  • Timezone Handling: Version 3.15 began the deprecation of pytz in favor of Python's built-in ZoneInfo for timezone handling.
  • Security Fixes: Version 3.17.2 includes important security fixes related to data disclosure and request parsing (CVE-2026-73229, CVE-2026-73228).

Recommendation:
Before upgrading, verify that your project's environment meets the new minimum requirements of Python 3.10+ and Django 4.2+. If you are using coreapi for schema generation, you must plan for its replacement. Review the official release notes for a full list of changes.

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