mongulu-cm / mtchoun-mouh

Notification platform for passport delivrance for Cameroon consulate at Marseille(France)
https://mtchoun-mouh.mongulu.cm/
GNU General Public License v3.0
4 stars 2 forks source link

[Snyk] Security upgrade jinja2 from 2.11.3 to 3.1.3 #150

Closed billmetangmo closed 6 months ago

billmetangmo commented 8 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.txt
⚠️ Warning ``` Werkzeug 2.2.3 has requirement MarkupSafe>=2.1.1, but you have MarkupSafe 1.1.1. Jinja2 3.1.3 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1. botocore 1.33.13 has requirement urllib3<1.27,>=1.25.4; python_version < "3.10", but you have urllib3 2.0.7. ```
#### 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") | **556/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.4 | Cross-site Scripting (XSS)
[SNYK-PYTHON-JINJA2-6150717](https://snyk.io/vuln/SNYK-PYTHON-JINJA2-6150717) | `jinja2:`
`2.11.3 -> 3.1.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](https://app.snyk.io/org/billmetangmo/project/b71565ed-1c99-4926-bd41-a8dd9dbe8c60?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/billmetangmo/project/b71565ed-1c99-4926-bd41-a8dd9dbe8c60?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":"fc1bf743-ee9b-4030-9640-dac7246c359d","prPublicId":"fc1bf743-ee9b-4030-9640-dac7246c359d","dependencies":[{"name":"jinja2","from":"2.11.3","to":"3.1.3"}],"packageManager":"pip","projectPublicId":"b71565ed-1c99-4926-bd41-a8dd9dbe8c60","projectUrl":"https://app.snyk.io/org/billmetangmo/project/b71565ed-1c99-4926-bd41-a8dd9dbe8c60?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-JINJA2-6150717"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[556],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lesson/xss/?loc=fix-pr)
github-actions[bot] commented 8 months ago

Infracost report

💰 Monthly cost will not change

This comment will be updated when code changes.

billmetangmo commented 8 months ago

:x: Plan Failed

CI link

Error: "name" cannot be longer than 64 characters: "mtchoun-mouh-snyk-fix-6326d0e314f4279f83eafbb2472e6060-trigger_user_scan"

   with aws_cloudwatch_event_rule.scheduler,
   on main.tf line 288, in resource "aws_cloudwatch_event_rule" "scheduler":
  288:   name                = (terraform.workspace == "mtchoun-mouh-master") ? "trigger_user_scan" : "${terraform.workspace}-trigger_user_scan"

Operation failed: failed running terraform plan (exit 1)