openprocurement / openprocurement.api

API interface to OpenProcurement database
http://api-docs.openprocurement.org/
Apache License 2.0
104 stars 73 forks source link

[Snyk] Security upgrade setuptools from 7.0 to 70.0.0 #490

Open kroman0 opened 4 months ago

kroman0 commented 4 months ago

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project. #### Snyk changed the following file(s): - `requirements.txt`
⚠️ Warning ``` Jinja2 2.7.3 requires markupsafe, which is not installed. Babel 2.14.0 has requirement pytz>=2015.7; python_version < "3.9", but you have pytz 2014.10. ```
--- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - Max score is 1000. Note that the real score may have changed since the PR was raised. > - This PR was automatically created by Snyk using the credentials of a real user. > - 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. --- **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/kroman0/project/f93d2ee9-4072-4957-a86d-899861512277?utm_source=github&utm_medium=referral&page=fix-pr) 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) 🛠 [Adjust project settings](https://app.snyk.io/org/kroman0/project/f93d2ee9-4072-4957-a86d-899861512277?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Improper Control of Generation of Code ('Code Injection')](https://learn.snyk.io/lesson/malicious-code-injection/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"setuptools","from":"7.0","to":"70.0.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":768,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"}],"prId":"f9617e4a-8b7c-4763-9a4b-c65cb05df21c","prPublicId":"f9617e4a-8b7c-4763-9a4b-c65cb05df21c","packageManager":"pip","priorityScoreList":[768],"projectPublicId":"f93d2ee9-4072-4957-a86d-899861512277","projectUrl":"https://app.snyk.io/org/kroman0/project/f93d2ee9-4072-4957-a86d-899861512277?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-SETUPTOOLS-7448482"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' - - - This change is [Reviewable](https://reviewable.io/reviews/openprocurement/openprocurement.api/490)
guardrails[bot] commented 4 months ago

:warning: We detected 3 security issues in this pull request:

Vulnerable Libraries (3)
Severity | Details :-: | :-- High | [pkg:pypi/jinja2@2.7.3](https://github.com/openprocurement/openprocurement.api/blob/fe51de59525196ecb9defc58999b939c14f83ba2/requirements.txt) (t) upgrade to: *9b53045c34e61013dc8f09b7e52a555fa16bed16,2.8.1* High | [pkg:pypi/pygments@2.0.2](https://github.com/openprocurement/openprocurement.api/blob/fe51de59525196ecb9defc58999b939c14f83ba2/requirements.txt) (t) upgrade to: *2.7.4* Critical | [pkg:pypi/pyyaml@3.11](https://github.com/openprocurement/openprocurement.api/blob/fe51de59525196ecb9defc58999b939c14f83ba2/requirements.txt) (t) upgrade to: *5.4* More info on how to fix Vulnerable Libraries in [Python](https://docs.guardrails.io/docs/en/vulnerabilities/python/using_vulnerable_libraries.html?utm_source=ghpr).

👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.