[Snyk] Fix for 3 vulnerabilities #21

Open
r3adm3 wants to merge 1 commit from snyk-fix-333408568e29e3da7b6f03d96e37f796 into main
r3adm3 commented 2024-04-20 22:04:51 +00:00 (Migrated from github.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:
    • addAndDblService/requirements.txt

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
medium severity 484/1000
Why? Has a fix available, CVSS 5.4
Cross-site Scripting (XSS)
SNYK-PYTHON-JINJA2-6150717
jinja2:
2.11.3 -> 3.1.3
No No Known Exploit
low severity 344/1000
Why? Has a fix available, CVSS 2.6
Access Restriction Bypass
SNYK-PYTHON-WERKZEUG-3319935
werkzeug:
1.0.1 -> 2.2.3
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-WERKZEUG-3319936
werkzeug:
1.0.1 -> 2.2.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:

🦉 Cross-site Scripting (XSS)
🦉 Access Restriction Bypass
🦉 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: - addAndDblService/requirements.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") | **484/1000** <br/> **Why?** Has a fix available, CVSS 5.4 | Cross-site Scripting (XSS) <br/>[SNYK-PYTHON-JINJA2-6150717](https://snyk.io/vuln/SNYK-PYTHON-JINJA2-6150717) | `jinja2:` <br> `2.11.3 -> 3.1.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") | **344/1000** <br/> **Why?** Has a fix available, CVSS 2.6 | Access Restriction Bypass <br/>[SNYK-PYTHON-WERKZEUG-3319935](https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319935) | `werkzeug:` <br> `1.0.1 -> 2.2.3` <br> | No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000** <br/> **Why?** Has a fix available, CVSS 7.5 | Denial of Service (DoS) <br/>[SNYK-PYTHON-WERKZEUG-3319936](https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319936) | `werkzeug:` <br> `1.0.1 -> 2.2.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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI2OTE1YzVkZC0wMjQwLTQyNjUtYTMyYy0xMzM1OTg5MzZlMzEiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjY5MTVjNWRkLTAyNDAtNDI2NS1hMzJjLTEzMzU5ODkzNmUzMSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/r3adm3/project/9ffd023f-9f2a-4d2c-99f3-c09cebbee29c?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/r3adm3/project/9ffd023f-9f2a-4d2c-99f3-c09cebbee29c?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":"6915c5dd-0240-4265-a32c-133598936e31","prPublicId":"6915c5dd-0240-4265-a32c-133598936e31","dependencies":[{"name":"jinja2","from":"2.11.3","to":"3.1.3"},{"name":"werkzeug","from":"1.0.1","to":"2.2.3"}],"packageManager":"pip","projectPublicId":"9ffd023f-9f2a-4d2c-99f3-c09cebbee29c","projectUrl":"https://app.snyk.io/org/r3adm3/project/9ffd023f-9f2a-4d2c-99f3-c09cebbee29c?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-JINJA2-6150717","SNYK-PYTHON-WERKZEUG-3319935","SNYK-PYTHON-WERKZEUG-3319936"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[484,344,589],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lesson/xss/?loc&#x3D;fix-pr) 🦉 [Access Restriction Bypass](https://learn.snyk.io/lesson/broken-access-control/?loc&#x3D;fix-pr) 🦉 [Denial of Service (DoS)](https://learn.snyk.io/lesson/no-rate-limiting/?loc&#x3D;fix-pr)
This pull request has changes conflicting with the target branch.
  • addAndDblService/requirements.txt
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

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-333408568e29e3da7b6f03d96e37f796
git switch snyk-fix-333408568e29e3da7b6f03d96e37f796
git rebase main
git switch main
git merge --ff-only snyk-fix-333408568e29e3da7b6f03d96e37f796
git switch snyk-fix-333408568e29e3da7b6f03d96e37f796
git rebase main
git switch main
git merge --no-ff snyk-fix-333408568e29e3da7b6f03d96e37f796
git switch main
git merge --squash snyk-fix-333408568e29e3da7b6f03d96e37f796
git switch main
git merge --ff-only snyk-fix-333408568e29e3da7b6f03d96e37f796
git switch main
git merge snyk-fix-333408568e29e3da7b6f03d96e37f796
git push origin main
Sign in to join this conversation.
No description provided.