ministryofjustice / cla_frontend

CLA Front End
http://ministryofjustice.github.io/cla_docs/
MIT License
3 stars 4 forks source link

[Snyk] Fix for 5 vulnerabilities #863

Closed mtac50 closed 3 months ago

mtac50 commented 1 year ago

This PR was automatically created by Snyk using the credentials of a real user.


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

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - requirements/base.txt
⚠️ Warning ``` s3transfer 0.3.7 requires botocore, which is not installed. requests 2.20.0 has requirement urllib3<1.25,>=1.21.1, but you have urllib3 1.26.12. boto3 1.17.28 requires botocore, which is not installed. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **811/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 9.8 | Information Exposure
[SNYK-PYTHON-REQUESTS-72435](https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-72435) | `requests:`
`2.19.1 -> 2.20`
| No | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **599/1000**
**Why?** Has a fix available, CVSS 7.7 | HTTP Header Injection
[SNYK-PYTHON-URLLIB3-1014645](https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-1014645) | `urllib3:`
`1.23 -> 1.26.5`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **479/1000**
**Why?** Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-URLLIB3-1533435](https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-1533435) | `urllib3:`
`1.23 -> 1.26.5`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **794/1000**
**Why?** Mature exploit, Has a fix available, CVSS 7.3 | CRLF injection
[SNYK-PYTHON-URLLIB3-174323](https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-174323) | `urllib3:`
`1.23 -> 1.26.5`
| No | Mature ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000**
**Why?** Has a fix available, CVSS 7.5 | Improper Certificate Validation
[SNYK-PYTHON-URLLIB3-174464](https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-174464) | `urllib3:`
`1.23 -> 1.26.5`
| No | No Known Exploit (*) 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 affected dependencies could be upgraded. Check the changes in this PR 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](https://app.snyk.io/org/legal-aid-agency/project/cfe2bbb5-67b7-46b1-8415-336299b99a33?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/legal-aid-agency/project/cfe2bbb5-67b7-46b1-8415-336299b99a33?utm_source=github&utm_medium=referral&page=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":"e90bb6b3-3c02-468e-b347-87d84aaa7a1e","prPublicId":"e90bb6b3-3c02-468e-b347-87d84aaa7a1e","dependencies":[{"name":"requests","from":"2.19.1","to":"2.20"},{"name":"urllib3","from":"1.23","to":"1.26.5"}],"packageManager":"pip","projectPublicId":"cfe2bbb5-67b7-46b1-8415-336299b99a33","projectUrl":"https://app.snyk.io/org/legal-aid-agency/project/cfe2bbb5-67b7-46b1-8415-336299b99a33?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-REQUESTS-72435","SNYK-PYTHON-URLLIB3-1014645","SNYK-PYTHON-URLLIB3-1533435","SNYK-PYTHON-URLLIB3-174323","SNYK-PYTHON-URLLIB3-174464"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[811,599,479,794,589]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr) 🦉 [CRLF injection](https://learn.snyk.io/lessons/malicious-code-injection/python/?loc=fix-pr)
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information