[Snyk] Security upgrade cryptography from 2.1.4 to 41.0.3 #6

Open
import_user_oitsjustjose_95mQ wants to merge 1 commit from snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3 into main
import_user_oitsjustjose_95mQ commented 2023-08-03 02:41:03 +00:00 (Migrated from git.oitsjustjose.com)

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
platformdirs 3.10.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 3.7.4.3.
virtualenv 20.24.2 has requirement distlib<1,>=0.3.7, but you have distlib 0.3.1.
virtualenv 20.24.2 has requirement filelock<4,>=3.12.2, but you have filelock 3.0.12.
virtualenv 20.24.2 has requirement importlib-metadata>=6.6; python_version < "3.8", but you have importlib-metadata 2.0.0.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
low severity 471/1000
Why? Recently disclosed, Has a fix available, CVSS 3.7
Insufficient Verification of Data Authenticity
SNYK-PYTHON-CRYPTOGRAPHY-5813745
cryptography:
2.1.4 -> 41.0.3
No No Known Exploit
medium severity 551/1000
Why? Recently disclosed, Has a fix available, CVSS 5.3
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5813746
cryptography:
2.1.4 -> 41.0.3
No No Known Exploit
low severity 471/1000
Why? Recently disclosed, Has a fix available, CVSS 3.7
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5813750
cryptography:
2.1.4 -> 41.0.3
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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Denial of Service (DoS)

<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.</h3> #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - requirements.txt <details> <summary>⚠️ <b>Warning</b></summary> ``` platformdirs 3.10.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 3.7.4.3. virtualenv 20.24.2 has requirement distlib<1,>=0.3.7, but you have distlib 0.3.1. virtualenv 20.24.2 has requirement filelock<4,>=3.12.2, but you have filelock 3.0.12. virtualenv 20.24.2 has requirement importlib-metadata>=6.6; python_version < "3.8", but you have importlib-metadata 2.0.0. ``` </details> #### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **471/1000** <br/> **Why?** Recently disclosed, Has a fix available, CVSS 3.7 | Insufficient Verification of Data Authenticity <br/>[SNYK-PYTHON-CRYPTOGRAPHY-5813745](https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813745) | `cryptography:` <br> `2.1.4 -> 41.0.3` <br> | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **551/1000** <br/> **Why?** Recently disclosed, Has a fix available, CVSS 5.3 | Denial of Service (DoS) <br/>[SNYK-PYTHON-CRYPTOGRAPHY-5813746](https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813746) | `cryptography:` <br> `2.1.4 -> 41.0.3` <br> | No | No Known Exploit ![low severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/l.png "low severity") | **471/1000** <br/> **Why?** Recently disclosed, Has a fix available, CVSS 3.7 | Denial of Service (DoS) <br/>[SNYK-PYTHON-CRYPTOGRAPHY-5813750](https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813750) | `cryptography:` <br> `2.1.4 -> 41.0.3` <br> | 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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhZGU3ODJkOC04NjNjLTQ4MjgtOWU5My1iZmZjZmNkZGEwMDgiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImFkZTc4MmQ4LTg2M2MtNDgyOC05ZTkzLWJmZmNmY2RkYTAwOCJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/oitsjustjose/project/f8f1c246-82e4-40b3-a0b6-80f8e4f30634?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/oitsjustjose/project/f8f1c246-82e4-40b3-a0b6-80f8e4f30634?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;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":"ade782d8-863c-4828-9e93-bffcfcdda008","prPublicId":"ade782d8-863c-4828-9e93-bffcfcdda008","dependencies":[{"name":"cryptography","from":"2.1.4","to":"41.0.3"}],"packageManager":"pip","projectPublicId":"f8f1c246-82e4-40b3-a0b6-80f8e4f30634","projectUrl":"https://app.snyk.io/org/oitsjustjose/project/f8f1c246-82e4-40b3-a0b6-80f8e4f30634?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-CRYPTOGRAPHY-5813745","SNYK-PYTHON-CRYPTOGRAPHY-5813746","SNYK-PYTHON-CRYPTOGRAPHY-5813750"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[471,551,471],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Denial of Service (DoS)](https://learn.snyk.io/lesson/redos/?loc&#x3D;fix-pr)
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3:snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git switch snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git switch snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git rebase main
git switch main
git merge --ff-only snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git switch snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git rebase main
git switch main
git merge --no-ff snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git switch main
git merge --squash snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git switch main
git merge --ff-only snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git switch main
git merge snyk-fix-d1d52ae384eb921bbcda0ccdc6b141c3
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
oitsjustjose/DMSM!6
No description provided.