bashtage / arch

ARCH models in Python
Other
1.32k stars 245 forks source link

[Snyk] Security upgrade jupyter-server from 1.24.0 to 2.7.2 #679

Closed bashtage closed 11 months ago

bashtage 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-dev.txt
⚠️ Warning ``` sphinx 5.3.0 has requirement docutils<0.20,>=0.14, but you have docutils 0.20.1. seaborn 0.12.2 has requirement numpy!=1.24.0,>=1.17, but you have numpy 1.14.5. pandas 1.3.5 has requirement numpy>=1.17.3; platform_machine != "aarch64" and platform_machine != "arm64" and python_version < "3.10", but you have numpy 1.14.5. numba 0.56.4 has requirement numpy<1.24,>=1.18, but you have numpy 1.14.5. matplotlib 3.5.3 has requirement numpy>=1.17, but you have numpy 1.14.5. flake8 5.0.4 has requirement importlib-metadata<4.3,>=1.1.0; python_version < "3.8", but you have importlib-metadata 6.7.0. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **516/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 4.6 | Access Control Bypass
[SNYK-PYTHON-JUPYTERSERVER-5862881](https://snyk.io/vuln/SNYK-PYTHON-JUPYTERSERVER-5862881) | `jupyter-server:`
`1.24.0 -> 2.7.2`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **501/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 4.3 | Open Redirect
[SNYK-PYTHON-JUPYTERSERVER-5862882](https://snyk.io/vuln/SNYK-PYTHON-JUPYTERSERVER-5862882) | `jupyter-server:`
`1.24.0 -> 2.7.2`
| 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/48bc380b-7493-4cde-b60f-5a3cb1fa4daf?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/bashtage/project/48bc380b-7493-4cde-b60f-5a3cb1fa4daf?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":"d4bd8694-9089-4bfd-b0e8-99404b4af99c","prPublicId":"d4bd8694-9089-4bfd-b0e8-99404b4af99c","dependencies":[{"name":"jupyter-server","from":"1.24.0","to":"2.7.2"}],"packageManager":"pip","projectPublicId":"48bc380b-7493-4cde-b60f-5a3cb1fa4daf","projectUrl":"https://app.snyk.io/org/bashtage/project/48bc380b-7493-4cde-b60f-5a3cb1fa4daf?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-JUPYTERSERVER-5862881","SNYK-PYTHON-JUPYTERSERVER-5862882"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[516,501],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Access Control Bypass](https://learn.snyk.io/lesson/broken-access-control/?loc=fix-pr) 🦉 [Open Redirect](https://learn.snyk.io/lesson/open-redirect/?loc=fix-pr)
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.11% :warning:

Comparison is base (98a2bfa) 99.43% compared to head (b544c56) 99.33%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #679 +/- ## ========================================== - Coverage 99.43% 99.33% -0.11% ========================================== Files 74 74 Lines 15509 15495 -14 Branches 2086 1350 -736 ========================================== - Hits 15422 15392 -30 - Misses 63 71 +8 - Partials 24 32 +8 ``` [see 6 files with indirect coverage changes](https://app.codecov.io/gh/bashtage/arch/pull/679/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kevin+Sheppard)

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