pmlmodelling / nctoolkit

A Python package for netCDF analysis and post-processing
https://nctoolkit.readthedocs.io/en/latest/
GNU General Public License v3.0
77 stars 10 forks source link

[Snyk] Security upgrade pygments from 2.7.4 to 2.15.0 #94

Open robertjwilson opened 1 year ago

robertjwilson 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: - docs/requirements.txt
⚠️ Warning ``` statsmodels 0.13.5 requires scipy, which is not installed. statsmodels 0.13.5 requires scipy, which is not installed. Sphinx 4.0.2 has requirement docutils<0.18,>=0.14, but you have docutils 0.20.1. sphinx-rtd-theme 0.5.2 has requirement docutils<0.17, but you have docutils 0.20.1. plotnine 0.8.0 requires scipy, which is not installed. panel 0.14.4 has requirement setuptools>=42, but you have setuptools 39.0.1. ncplot 0.3.5 requires jupyter-bokeh, which is not installed. MetPy 1.2.0 requires pyproj, which is not installed. MetPy 1.2.0 requires scipy, which is not installed. datashader 0.14.4 requires scipy, which is not installed. ```
#### 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") | **479/1000**
**Why?** Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-PYGMENTS-5750273](https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-5750273) | `pygments:`
`2.7.4 -> 2.15.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/r4ecology/project/ae4d6c77-4eb6-4315-8c83-c8c75f3a8d41?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/r4ecology/project/ae4d6c77-4eb6-4315-8c83-c8c75f3a8d41?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":"25f5000c-de1e-4a4b-a96e-edafbb17f2c0","prPublicId":"25f5000c-de1e-4a4b-a96e-edafbb17f2c0","dependencies":[{"name":"pygments","from":"2.7.4","to":"2.15.0"}],"packageManager":"pip","projectPublicId":"ae4d6c77-4eb6-4315-8c83-c8c75f3a8d41","projectUrl":"https://app.snyk.io/org/r4ecology/project/ae4d6c77-4eb6-4315-8c83-c8c75f3a8d41?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-PYGMENTS-5750273"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[479],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)
codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (bb396d4) 80.39% compared to head (db2ab73) 80.39%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #94 +/- ## ======================================= Coverage 80.39% 80.39% ======================================= Files 69 69 Lines 7221 7221 ======================================= Hits 5805 5805 Misses 1416 1416 ```

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