OpenMined / SyMPC

A SMPC companion library for Syft
MIT License
96 stars 39 forks source link

[Snyk] Fix for 7 vulnerabilities #426

Open gmuraru opened 7 months ago

gmuraru commented 7 months 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 ``` torchcsprng 0.2.1 requires torch, which is not installed. syft 0.7.0 requires torch, which is not installed. syft 0.7.0 requires matplotlib, which is not installed. syft 0.7.0 requires jaxlib, which is not installed. syft 0.7.0 requires pycapnp, which is not installed. syft 0.7.0 requires pandas, which is not installed. syft 0.7.0 has requirement numpy>=1.21.6, but you have numpy 1.21.3. optax 0.1.4 requires jaxlib, which is not installed. jax 0.3.14 requires scipy, which is not installed. flax 0.5.3 requires matplotlib, which is not installed. chex 0.1.5 requires jaxlib, 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") | **589/1000**
**Why?** Has a fix available, CVSS 7.5 | XML External Entity (XXE) Injection
[SNYK-PYTHON-FONTTOOLS-6133203](https://snyk.io/vuln/SNYK-PYTHON-FONTTOOLS-6133203) | `fonttools:`
`4.38.0 -> 4.43.0`
| No | No Known Exploit ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **506/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 3.7 | NULL Pointer Dereference
[SNYK-PYTHON-NUMPY-2321964](https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964) | `numpy:`
`1.21.3 -> 1.22.2`
| No | Proof of Concept ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **399/1000**
**Why?** Has a fix available, CVSS 3.7 | Buffer Overflow
[SNYK-PYTHON-NUMPY-2321966](https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966) | `numpy:`
`1.21.3 -> 1.22.2`
| No | No Known Exploit ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **506/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 3.7 | Denial of Service (DoS)
[SNYK-PYTHON-NUMPY-2321970](https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970) | `numpy:`
`1.21.3 -> 1.22.2`
| No | Proof of Concept ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **909/1000**
**Why?** Mature exploit, Has a fix available, CVSS 9.6 | Heap-based Buffer Overflow
[SNYK-PYTHON-PILLOW-5918878](https://snyk.io/vuln/SNYK-PYTHON-PILLOW-5918878) | `pillow:`
`9.5.0 -> 10.2.0`
| 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 | Uncontrolled Resource Consumption ('Resource Exhaustion')
[SNYK-PYTHON-PILLOW-6043904](https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6043904) | `pillow:`
`9.5.0 -> 10.2.0`
| No | No Known Exploit ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **843/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 9 | Eval Injection
[SNYK-PYTHON-PILLOW-6182918](https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6182918) | `pillow:`
`9.5.0 -> 10.2.0`
| 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 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/george.muraru/project/f658803f-df11-4841-917c-e7a16f2444c6?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/george.muraru/project/f658803f-df11-4841-917c-e7a16f2444c6?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":"4120860e-5af0-4503-a0bc-27dc334f3cb2","prPublicId":"4120860e-5af0-4503-a0bc-27dc334f3cb2","dependencies":[{"name":"fonttools","from":"4.38.0","to":"4.43.0"},{"name":"numpy","from":"1.21.3","to":"1.22.2"},{"name":"pillow","from":"9.5.0","to":"10.2.0"}],"packageManager":"pip","projectPublicId":"f658803f-df11-4841-917c-e7a16f2444c6","projectUrl":"https://app.snyk.io/org/george.muraru/project/f658803f-df11-4841-917c-e7a16f2444c6?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-FONTTOOLS-6133203","SNYK-PYTHON-NUMPY-2321964","SNYK-PYTHON-NUMPY-2321966","SNYK-PYTHON-NUMPY-2321970","SNYK-PYTHON-PILLOW-5918878","SNYK-PYTHON-PILLOW-6043904","SNYK-PYTHON-PILLOW-6182918"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[589,506,399,506,909,589,843],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [XML External Entity (XXE) Injection](https://learn.snyk.io/lesson/xxe/?loc=fix-pr) 🦉 [NULL Pointer Dereference](https://learn.snyk.io/lesson/null-dereference/?loc=fix-pr) 🦉 [Uncontrolled Resource Consumption ('Resource Exhaustion')](https://learn.snyk.io/lesson/redos/?loc=fix-pr) 🦉 [More lessons are available in Snyk Learn](https://learn.snyk.io/?loc=fix-pr)