dbca-wa / sdis

A web based project approval, documentation and reporting system
https://sdis.dbca.wa.gov.au/
7 stars 3 forks source link

[Snyk] Fix for 4 vulnerabilities #215

Closed dbca-asi closed 1 week ago

dbca-asi 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.txt
⚠️ Warning ``` pyOpenSSL 20.0.1 has requirement cryptography>=3.2, but you have cryptography 3.0. pipenv 2021.5.29 has requirement pip>=18.0, but you have pip 9.0.3. ipdbplugin 1.5.0 requires ipython, which is not installed. django-tablib 3.2 requires tablib, which is not installed. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **624/1000**
**Why?** Has a fix available, CVSS 8.2 | Arbitrary Code Execution
[SNYK-PYTHON-IPYTHON-2348630](https://snyk.io/vuln/SNYK-PYTHON-IPYTHON-2348630) | `ipython:`
`5.10.0 -> 7.16.3`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-PYGMENTS-1086606](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1086606) | `pygments:`
`2.5.2 -> 2.7.4`
| No | Proof of Concept ![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 | Denial of Service (DoS)
[SNYK-PYTHON-PYGMENTS-1088505](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-1088505) | `pygments:`
`2.5.2 -> 2.7.4`
| No | No Known Exploit ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **876/1000**
**Why?** Mature exploit, Has a fix available, CVSS 9.8 | Arbitrary Code Execution
[SNYK-PYTHON-PYYAML-590151](https://snyk.io/vuln/SNYK-PYTHON-PYYAML-590151) | `pyyaml:`
`5.3.1 -> 5.4`
| No | Mature (*) 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/dbca-asi/project/ed840513-565a-43cd-9147-1b2ff93b2fe6?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/dbca-asi/project/ed840513-565a-43cd-9147-1b2ff93b2fe6?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":"3baa11ad-95e4-4ea7-a97a-c2af904fa26e","prPublicId":"3baa11ad-95e4-4ea7-a97a-c2af904fa26e","dependencies":[{"name":"ipython","from":"5.10.0","to":"7.16.3"},{"name":"pygments","from":"2.5.2","to":"2.7.4"},{"name":"pyyaml","from":"5.3.1","to":"5.4"}],"packageManager":"pip","projectPublicId":"ed840513-565a-43cd-9147-1b2ff93b2fe6","projectUrl":"https://app.snyk.io/org/dbca-asi/project/ed840513-565a-43cd-9147-1b2ff93b2fe6?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-IPYTHON-2348630","SNYK-PYTHON-PYGMENTS-1086606","SNYK-PYTHON-PYGMENTS-1088505","SNYK-PYTHON-PYYAML-590151"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[624,696,589,876]}) --- **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) 🦉 [Denial of Service (DoS)](https://learn.snyk.io/lessons/redos/javascript//?loc=fix-pr) 🦉 [Arbitrary Code Execution](https://learn.snyk.io/lessons/malicious-code-injection/python//?loc=fix-pr) - - - This change is [Reviewable](https://reviewable.io/reviews/dbca-wa/sdis/215)