openprocurement / openprocurement.api

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

[Snyk] Fix for 3 vulnerabilities #468

Open kroman0 opened 2 years ago

kroman0 commented 2 years 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 ``` schematics 1.1.0 requires mock, which is not installed. gevent 1.1rc5 requires greenlet, which is not installed. Babel 2.9.1 has requirement pytz>=2015.7, but you have pytz 2014.10. ```
#### 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") | **539/1000**
**Why?** Has a fix available, CVSS 6.5 | Cross-site Scripting (XSS)
[SNYK-PYTHON-PYRAMID-40730](https://snyk.io/vuln/SNYK-PYTHON-PYRAMID-40730) | `pyramid:`
`1.5.7 -> 1.6a2`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **464/1000**
**Why?** Has a fix available, CVSS 5 | Timing Attack
[SNYK-PYTHON-PYRAMID-564353](https://snyk.io/vuln/SNYK-PYTHON-PYRAMID-564353) | `pyramid:`
`1.5.7 -> 1.6a2`
| No | No Known Exploit ![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 | HTTP Response Splitting
[SNYK-PYTHON-WEBOB-40490](https://snyk.io/vuln/SNYK-PYTHON-WEBOB-40490) | `webob:`
`1.4.1 -> 1.6.0a0`
| 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/kroman0/project/f93d2ee9-4072-4957-a86d-899861512277?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [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 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":"ff72158c-4d86-4172-9746-0ef45bbadc6d","prPublicId":"ff72158c-4d86-4172-9746-0ef45bbadc6d","dependencies":[{"name":"pyramid","from":"1.5.7","to":"1.6a2"},{"name":"webob","from":"1.4.1","to":"1.6.0a0"}],"packageManager":"pip","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","type":"auto","patch":[],"vulns":["SNYK-PYTHON-PYRAMID-40730","SNYK-PYTHON-PYRAMID-564353","SNYK-PYTHON-WEBOB-40490"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[539,464,479]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lessons/csrf-attack/javascript//?loc=fix-pr) - - - This change is [Reviewable](https://reviewable.io/reviews/openprocurement/openprocurement.api/468)
guardrails[bot] commented 2 years ago

:warning: We detected 1 security issue in this pull request:

Vulnerable Libraries (1)
Severity | Details ----- | -------- High | [pkg:pypi/pyramid@1.6a2@1.6a2](https://github.com/openprocurement/openprocurement.api/blob/50a77bfdf798cdd61b8f844eeff09b955c98352a/requirements.txt#L28) - **no patch available** 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.