commander-framework / commander

(Alpha) API microservice that is the backbone of the Commander endpoint agent framework
GNU Affero General Public License v3.0
2 stars 1 forks source link

[Snyk] Fix for 4 vulnerabilities #17

Open lawndoc opened 10 months ago

lawndoc commented 10 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: - Commander/requirements.txt
⚠️ Warning ``` Flask 2.2.5 requires Werkzeug, which is not installed. Flask-JWT-Extended 4.3.1 requires Werkzeug, which is not installed. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![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.0.3 -> 2.2.5`
| No | No Known Exploit ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **506/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 3.7 | Exposure of Data Element to Wrong Session
[SNYK-PYTHON-REDIS-5291195](https://snyk.io/vuln/SNYK-PYTHON-REDIS-5291195) | `redis:`
`4.3.1 -> 4.3.6`
| No | Proof of Concept ![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:`
`39.0.1 -> 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/lawndoc/project/3006498d-f740-4575-90b2-076307b088f5?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/lawndoc/project/3006498d-f740-4575-90b2-076307b088f5?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":"2aefed9f-85bc-4f8c-9563-501404927a6c","prPublicId":"2aefed9f-85bc-4f8c-9563-501404927a6c","dependencies":[{"name":"flask","from":"2.0.3","to":"2.2.5"},{"name":"redis","from":"4.3.1","to":"4.3.6"},{"name":"setuptools","from":"39.0.1","to":"65.5.1"},{"name":"werkzeug","from":"2.2.3","to":"2.3.8"}],"packageManager":"pip","projectPublicId":"3006498d-f740-4575-90b2-076307b088f5","projectUrl":"https://app.snyk.io/org/lawndoc/project/3006498d-f740-4575-90b2-076307b088f5?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-FLASK-5490129","SNYK-PYTHON-REDIS-5291195","SNYK-PYTHON-SETUPTOOLS-3180412","SNYK-PYTHON-WERKZEUG-6035177"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[589,506,509,539],"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 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (153ef43) 87.98% compared to head (9470f45) 88.19%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #17 +/- ## ========================================== + Coverage 87.98% 88.19% +0.21% ========================================== Files 8 10 +2 Lines 724 737 +13 ========================================== + Hits 637 650 +13 Misses 87 87 ```

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