edeng23 / binance-trade-bot

Automated cryptocurrency trading bot
GNU General Public License v3.0
7.75k stars 2.16k forks source link

[Snyk] Fix for 7 vulnerabilities #557

Open edeng23 opened 3 months ago

edeng23 commented 3 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.txt
⚠️ Warning ``` unicorn-binance-websocket-api 1.34.2 has requirement websockets==10.0, but you have websockets 11.0.3. python-binance 1.0.12 requires aiohttp, which is not installed. Flask 2.2.5 requires Werkzeug, 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") | **591/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.4 | Improper Input Validation
[SNYK-PYTHON-AIOHTTP-6091621](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091621) | `aiohttp:`
`3.8.6 -> 3.9.2`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **591/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.4 | Improper Input Validation
[SNYK-PYTHON-AIOHTTP-6091622](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091622) | `aiohttp:`
`3.8.6 -> 3.9.2`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **616/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.9 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
[SNYK-PYTHON-AIOHTTP-6209406](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209406) | `aiohttp:`
`3.8.6 -> 3.9.2`
| No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **646/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.5 | HTTP Request Smuggling
[SNYK-PYTHON-AIOHTTP-6209407](https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209407) | `aiohttp:`
`3.8.6 -> 3.9.2`
| 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 | Information Exposure
[SNYK-PYTHON-FLASK-5490129](https://snyk.io/vuln/SNYK-PYTHON-FLASK-5490129) | `flask:`
`2.1.1 -> 2.2.5`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **509/1000**
**Why?** Has a fix available, CVSS 5.9 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-SETUPTOOLS-3180412](https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412) | `setuptools:`
`40.5.0 -> 65.5.1`
| No | No Known Exploit ![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 | Inefficient Algorithmic Complexity
[SNYK-PYTHON-WERKZEUG-6035177](https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-6035177) | `werkzeug:`
`2.2.3 -> 2.3.8`
| 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/edencgaon/project/9942fc38-ecf4-4db1-b541-2733bb74b9ef?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/edencgaon/project/9942fc38-ecf4-4db1-b541-2733bb74b9ef?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":"fcaa7095-7e72-43af-af8f-dd5a8411faf1","prPublicId":"fcaa7095-7e72-43af-af8f-dd5a8411faf1","dependencies":[{"name":"aiohttp","from":"3.8.6","to":"3.9.2"},{"name":"flask","from":"2.1.1","to":"2.2.5"},{"name":"setuptools","from":"40.5.0","to":"65.5.1"},{"name":"werkzeug","from":"2.2.3","to":"2.3.8"}],"packageManager":"pip","projectPublicId":"9942fc38-ecf4-4db1-b541-2733bb74b9ef","projectUrl":"https://app.snyk.io/org/edencgaon/project/9942fc38-ecf4-4db1-b541-2733bb74b9ef?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-AIOHTTP-6091621","SNYK-PYTHON-AIOHTTP-6091622","SNYK-PYTHON-AIOHTTP-6209406","SNYK-PYTHON-AIOHTTP-6209407","SNYK-PYTHON-FLASK-5490129","SNYK-PYTHON-SETUPTOOLS-3180412","SNYK-PYTHON-WERKZEUG-6035177"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[591,591,616,646,589,509,539],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Improper Input Validation](https://learn.snyk.io/lesson/improper-input-validation/?loc=fix-pr) 🦉 [Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')](https://learn.snyk.io/lesson/directory-traversal/?loc=fix-pr) 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)