bashtage / linearmodels

Additional linear models including instrumental variable and panel data models that are missing from statsmodels.
https://bashtage.github.io/linearmodels/
University of Illinois/NCSA Open Source License
930 stars 184 forks source link

[Snyk] Fix for 9 vulnerabilities #589

Open bashtage opened 5 months ago

bashtage commented 5 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-test.txt
⚠️ Warning ``` matplotlib 3.5.3 requires pillow, which is not installed. matplotlib 3.5.3 requires fonttools, 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") | **924/1000**
**Why?** Currently trending on Twitter, 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 ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **726/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 8.1 | 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 ![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-PILLOW-6219984](https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6219984) | `pillow:`
`9.5.0 -> 10.2.0`
| 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**
**Why?** Has a fix available, CVSS 7.5 | Denial of Service (DoS)
[SNYK-PYTHON-PILLOW-6219986](https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6219986) | `pillow:`
`9.5.0 -> 10.2.0`
| 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/bashtage/project/0343c721-0d95-4329-952c-b1c1e0b52d44?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/bashtage/project/0343c721-0d95-4329-952c-b1c1e0b52d44?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":"d6694a88-6120-4ebf-952d-823d5348ce20","prPublicId":"d6694a88-6120-4ebf-952d-823d5348ce20","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":"0343c721-0d95-4329-952c-b1c1e0b52d44","projectUrl":"https://app.snyk.io/org/bashtage/project/0343c721-0d95-4329-952c-b1c1e0b52d44?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","SNYK-PYTHON-PILLOW-6219984","SNYK-PYTHON-PILLOW-6219986"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[589,506,399,506,924,589,726,589,589],"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)
codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.60%. Comparing base (facba92) to head (7bfaec6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #589 +/- ## ======================================= Coverage 99.60% 99.60% ======================================= Files 99 99 Lines 17259 17259 Branches 2460 2460 ======================================= Hits 17190 17190 Misses 30 30 Partials 39 39 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.