maqp / tfc

Tinfoil Chat - Onion-routed, endpoint secure messaging system
GNU General Public License v3.0
1.23k stars 88 forks source link

[Snyk] Security upgrade cryptography from 40.0.2 to 42.0.2 #85

Closed maqp closed 6 months ago

maqp commented 9 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-relay-tails.txt #### 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") | **509/1000**
**Why?** Has a fix available, CVSS 5.9 | Use of a Broken or Risky Cryptographic Algorithm
[SNYK-PYTHON-CRYPTOGRAPHY-6149518](https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6149518) | `cryptography:`
`40.0.2 -> 42.0.2`
| No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **581/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.9 | Uncontrolled Resource Consumption ('Resource Exhaustion')
[SNYK-PYTHON-CRYPTOGRAPHY-6157248](https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6157248) | `cryptography:`
`40.0.2 -> 42.0.2`
| 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/maqp/project/09b0065a-2f45-4c17-9719-b930bcac2f8c?utm_source=github&utm_medium=referral&page=fix-pr) πŸ›  [Adjust project settings](https://app.snyk.io/org/maqp/project/09b0065a-2f45-4c17-9719-b930bcac2f8c?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":"c60d5408-5b15-49ec-8a86-09eafe98400f","prPublicId":"c60d5408-5b15-49ec-8a86-09eafe98400f","dependencies":[{"name":"cryptography","from":"40.0.2","to":"42.0.2"}],"packageManager":"pip","projectPublicId":"09b0065a-2f45-4c17-9719-b930bcac2f8c","projectUrl":"https://app.snyk.io/org/maqp/project/09b0065a-2f45-4c17-9719-b930bcac2f8c?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-CRYPTOGRAPHY-6149518","SNYK-PYTHON-CRYPTOGRAPHY-6157248"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[509,581],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** πŸ¦‰ [Use of a Broken or Risky Cryptographic Algorithm](https://learn.snyk.io/lesson/insecure-hash/?loc=fix-pr) πŸ¦‰ [Uncontrolled Resource Consumption ('Resource Exhaustion')](https://learn.snyk.io/lesson/redos/?loc=fix-pr)
codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (2cf4150) 100.00% compared to head (9790e2c) 100.00%.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #85 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 51 51 Lines 6515 6515 ========================================= Hits 6515 6515 ``` | [Flag](https://app.codecov.io/gh/maqp/tfc/pull/85/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Ottela) | Coverage Ξ” | | |---|---|---| | [unittests](https://app.codecov.io/gh/maqp/tfc/pull/85/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Ottela) | `100.00% <ΓΈ> (ΓΈ)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Markus+Ottela#carryforward-flags-in-the-pull-request-comment) to find out more.

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