[Snyk] Security upgrade django from 3.1.4 to 3.1.13 #2

Open
arno.birchler wants to merge 1 commit from snyk-fix-b180755e1e6231a13402296c54427493 into master
arno.birchler commented 2021-11-07 18:49:32 +00:00 (Migrated from gitlab.com)

Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.

Changes included in this Merge Request

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • requirements.txt
⚠️ Warning
django-health-check 3.16.4 requires django, which is not installed.
django-dbbackup 3.3.0 requires Django, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
low severity 369/1000
Why? Has a fix available, CVSS 3.1
Directory Traversal
SNYK-PYTHON-DJANGO-1066259
django:
3.1.4 -> 3.1.13
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Web Cache Poisoning
SNYK-PYTHON-DJANGO-1076802
django:
3.1.4 -> 3.1.13
No No Known Exploit
low severity 399/1000
Why? Has a fix available, CVSS 3.7
Directory Traversal
SNYK-PYTHON-DJANGO-1090612
django:
3.1.4 -> 3.1.13
No No Known Exploit
low severity 379/1000
Why? Has a fix available, CVSS 3.3
Directory Traversal
SNYK-PYTHON-DJANGO-1279042
django:
3.1.4 -> 3.1.13
No No Known Exploit
high severity 579/1000
Why? Has a fix available, CVSS 7.3
HTTP Header Injection
SNYK-PYTHON-DJANGO-1290072
django:
3.1.4 -> 3.1.13
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Directory Traversal
SNYK-PYTHON-DJANGO-1298665
django:
3.1.4 -> 3.1.13
No No Known Exploit
medium severity 429/1000
Why? Has a fix available, CVSS 4.3
Improper Input Validation
SNYK-PYTHON-DJANGO-1298666
django:
3.1.4 -> 3.1.13
No No Known Exploit
high severity 686/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.3
SQL Injection
SNYK-PYTHON-DJANGO-1315688
django:
3.1.4 -> 3.1.13
No Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

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 effected dependencies could be upgraded.

Check the changes in this Merge Request to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic

<h3>Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.</h3> #### Changes included in this Merge Request - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - requirements.txt <details> <summary>⚠️ <b>Warning</b></summary> ``` django-health-check 3.16.4 requires django, which is not installed. django-dbbackup 3.3.0 requires Django, which is not installed. ``` </details> #### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **369/1000** <br/> **Why?** Has a fix available, CVSS 3.1 | Directory Traversal <br/>[SNYK-PYTHON-DJANGO-1066259](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1066259) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **509/1000** <br/> **Why?** Has a fix available, CVSS 5.9 | Web Cache Poisoning <br/>[SNYK-PYTHON-DJANGO-1076802](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1076802) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | No Known Exploit ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **399/1000** <br/> **Why?** Has a fix available, CVSS 3.7 | Directory Traversal <br/>[SNYK-PYTHON-DJANGO-1090612](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1090612) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | No Known Exploit ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **379/1000** <br/> **Why?** Has a fix available, CVSS 3.3 | Directory Traversal <br/>[SNYK-PYTHON-DJANGO-1279042](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1279042) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **579/1000** <br/> **Why?** Has a fix available, CVSS 7.3 | HTTP Header Injection <br/>[SNYK-PYTHON-DJANGO-1290072](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1290072) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000** <br/> **Why?** Has a fix available, CVSS 7.5 | Directory Traversal <br/>[SNYK-PYTHON-DJANGO-1298665](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1298665) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **429/1000** <br/> **Why?** Has a fix available, CVSS 4.3 | Improper Input Validation <br/>[SNYK-PYTHON-DJANGO-1298666](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1298666) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **686/1000** <br/> **Why?** Proof of Concept exploit, Has a fix available, CVSS 7.3 | SQL Injection <br/>[SNYK-PYTHON-DJANGO-1315688](https://snyk.io/vuln/SNYK-PYTHON-DJANGO-1315688) | `django:` <br> `3.1.4 -> 3.1.13` <br> | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised. 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 effected dependencies could be upgraded. Check the changes in this Merge Request to ensure they won't cause issues with your project. ------------ **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhMzNlZmQ5ZC02MDQxLTQwZGEtOWY4Yy01NDAxYmNhOWUxOWUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImEzM2VmZDlkLTYwNDEtNDBkYS05ZjhjLTU0MDFiY2E5ZTE5ZSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/arnobirchler/project/f12b01b7-4014-4eb1-9519-9384068cbae1?utm_source&#x3D;gitlab&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/arnobirchler/project/f12b01b7-4014-4eb1-9519-9384068cbae1?utm_source&#x3D;gitlab&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"a33efd9d-6041-40da-9f8c-5401bca9e19e","prPublicId":"a33efd9d-6041-40da-9f8c-5401bca9e19e","dependencies":[{"name":"django","from":"3.1.4","to":"3.1.13"}],"packageManager":"pip","projectPublicId":"f12b01b7-4014-4eb1-9519-9384068cbae1","projectUrl":"https://app.snyk.io/org/arnobirchler/project/f12b01b7-4014-4eb1-9519-9384068cbae1?utm_source=gitlab&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-DJANGO-1066259","SNYK-PYTHON-DJANGO-1076802","SNYK-PYTHON-DJANGO-1090612","SNYK-PYTHON-DJANGO-1279042","SNYK-PYTHON-DJANGO-1290072","SNYK-PYTHON-DJANGO-1298665","SNYK-PYTHON-DJANGO-1298666","SNYK-PYTHON-DJANGO-1315688"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[369,509,399,379,579,589,429,686]})
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin snyk-fix-b180755e1e6231a13402296c54427493:snyk-fix-b180755e1e6231a13402296c54427493
git switch snyk-fix-b180755e1e6231a13402296c54427493

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff snyk-fix-b180755e1e6231a13402296c54427493
git switch snyk-fix-b180755e1e6231a13402296c54427493
git rebase master
git switch master
git merge --ff-only snyk-fix-b180755e1e6231a13402296c54427493
git switch snyk-fix-b180755e1e6231a13402296c54427493
git rebase master
git switch master
git merge --no-ff snyk-fix-b180755e1e6231a13402296c54427493
git switch master
git merge --squash snyk-fix-b180755e1e6231a13402296c54427493
git switch master
git merge --ff-only snyk-fix-b180755e1e6231a13402296c54427493
git switch master
git merge snyk-fix-b180755e1e6231a13402296c54427493
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
self-healing-infrastructure/core!2
No description provided.