[Snyk] Fix for 3 vulnerabilities - #173
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-14157807 - https://snyk.io/vuln/SNYK-PYTHON-DJANGO-14157810 - https://snyk.io/vuln/SNYK-PYTHON-SQLPARSE-14157217
There was a problem hiding this comment.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on January 1
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| django-statsd==2.5.2 | ||
| # via -r requirements.in | ||
| django==3.1.8 | ||
| django==4.2.27 |
There was a problem hiding this comment.
Bug: Django 4.2 requires higher asgiref version than pinned
The upgrade to django==4.2.27 creates a dependency conflict with asgiref==3.3.1 which remains pinned at line 13. Django 4.2.x requires asgiref>=3.6.0, but the current version is 3.3.1. This incompatibility will cause pip to fail during dependency resolution or result in runtime errors. The PR's own warning explicitly notes this conflict.
Additional Locations (1)
| django-statsd==2.5.2 | ||
| # via -r requirements.in | ||
| django==3.1.8 | ||
| django==4.2.27 |
There was a problem hiding this comment.
Bug: Source requirements.in not updated, fix will be reverted
The requirements.txt was updated but requirements.in still pins Django==3.1.8 (line 13) and asgiref==3.3.1 (line 5). Since requirements.txt is autogenerated by pip-compile requirements.in, running this command will silently revert the security fix back to the vulnerable versions. The source file needs to be updated for this fix to persist.
Snyk has created this PR to fix 3 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):
requirements.txtImportant
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:
🦉 SQL Injection
🦉 Allocation of Resources Without Limits or Throttling
Note
Bumps Django and sqlparse versions in requirements.txt.
djangofrom3.1.8to4.2.27inrequirements.txt.sqlparsefrom0.3.0to0.5.4inrequirements.txt.Written by Cursor Bugbot for commit abc3822. This will update automatically on new commits. Configure here.