[Snyk] Security upgrade black from 21.5b2 to 24.3.0 #12

Open
import_user_oitsjustjose_95mQ wants to merge 1 commit from snyk-fix-ce0752a42138df7e5207381684a12310 into main
import_user_oitsjustjose_95mQ commented 2024-03-18 17:23:24 +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 4.0.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 3.7.4.3.
virtualenv 20.25.1 has requirement distlib<1,>=0.3.7, but you have distlib 0.3.1.
virtualenv 20.25.1 has requirement filelock<4,>=3.12.2, but you have filelock 3.0.12.
virtualenv 20.25.1 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
medium severity 658/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-BLACK-6256273
black:
21.5b2 -> 24.3.0
No Proof of Concept

(*) 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:

🦉 Regular Expression Denial of Service (ReDoS)

<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 4.0.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 3.7.4.3. virtualenv 20.25.1 has requirement distlib<1,>=0.3.7, but you have distlib 0.3.1. virtualenv 20.25.1 has requirement filelock<4,>=3.12.2, but you have filelock 3.0.12. virtualenv 20.25.1 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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **658/1000** <br/> **Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS) <br/>[SNYK-PYTHON-BLACK-6256273](https://snyk.io/vuln/SNYK-PYTHON-BLACK-6256273) | `black:` <br> `21.5b2 -> 24.3.0` <br> | No | Proof of Concept (*) 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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJlZWRjYzVhYy0yMDk1LTQ1ZTQtODEwNS0zNGQ3ODEyODFlYTUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImVlZGNjNWFjLTIwOTUtNDVlNC04MTA1LTM0ZDc4MTI4MWVhNSJ9fQ==" 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":"eedcc5ac-2095-45e4-8105-34d781281ea5","prPublicId":"eedcc5ac-2095-45e4-8105-34d781281ea5","dependencies":[{"name":"black","from":"21.5b2","to":"24.3.0"}],"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-BLACK-6256273"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[658],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](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-ce0752a42138df7e5207381684a12310:snyk-fix-ce0752a42138df7e5207381684a12310
git switch snyk-fix-ce0752a42138df7e5207381684a12310

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-ce0752a42138df7e5207381684a12310
git switch snyk-fix-ce0752a42138df7e5207381684a12310
git rebase main
git switch main
git merge --ff-only snyk-fix-ce0752a42138df7e5207381684a12310
git switch snyk-fix-ce0752a42138df7e5207381684a12310
git rebase main
git switch main
git merge --no-ff snyk-fix-ce0752a42138df7e5207381684a12310
git switch main
git merge --squash snyk-fix-ce0752a42138df7e5207381684a12310
git switch main
git merge --ff-only snyk-fix-ce0752a42138df7e5207381684a12310
git switch main
git merge snyk-fix-ce0752a42138df7e5207381684a12310
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!12
No description provided.