shieldproject / shield

A standalone system that can perform backup and restore functions for a wide variety of pluggable data systems
MIT License
370 stars 69 forks source link

[Snyk] Security upgrade golang from latest to 1.22.4 #753

Closed wayneeseguin closed 4 months ago

wayneeseguin commented 5 months ago

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project. Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image. #### Snyk changed the following file(s): - `vendor/github.com/nxadm/tail/Dockerfile` We recommend upgrading to `golang:1.22.4`, as this image has only **89** known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Improper Input Validation
[SNYK-DEBIAN12-PYTHON311-3325304](https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-3325304) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Improper Input Validation
[SNYK-DEBIAN12-PYTHON311-3325304](https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-3325304) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Untrusted Search Path
[SNYK-DEBIAN12-PYTHON311-5853785](https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-5853785) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Untrusted Search Path
[SNYK-DEBIAN12-PYTHON311-5853785](https://snyk.io/vuln/SNYK-DEBIAN12-PYTHON311-5853785) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Allocation of Resources Without Limits or Throttling
[SNYK-DEBIAN12-SYSTEMD-6277507](https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507) |   **614**   --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - Max score is 1000. Note that the real score may have changed since the PR was raised. > - This PR was automatically created by Snyk using the credentials of a real user. --- **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/wayneeseguin/project/93737c45-8a5b-443e-9e07-f9150dade3f1?utm_source=github&utm_medium=referral&page=fix-pr) 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) 🛠 [Adjust project settings](https://app.snyk.io/org/wayneeseguin/project/93737c45-8a5b-443e-9e07-f9150dade3f1?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Improper Input Validation](https://learn.snyk.io/lesson/improper-input-validation/?loc=fix-pr) 🦉 [Allocation of Resources Without Limits or Throttling](https://learn.snyk.io/lesson/no-rate-limiting/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"golang","from":"latest","to":"1.22.4"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-PYTHON311-3325304","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Input Validation"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-PYTHON311-5853785","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Untrusted Search Path"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-PYTHON311-3325304","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Improper Input Validation"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-PYTHON311-5853785","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Untrusted Search Path"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN12-SYSTEMD-6277507","priority_score":614,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Allocation of Resources Without Limits or Throttling"}],"prId":"909c08c1-d621-4db1-b30a-a4024af65cc8","prPublicId":"909c08c1-d621-4db1-b30a-a4024af65cc8","packageManager":"dockerfile","priorityScoreList":[614,614,614],"projectPublicId":"93737c45-8a5b-443e-9e07-f9150dade3f1","projectUrl":"https://app.snyk.io/org/wayneeseguin/project/93737c45-8a5b-443e-9e07-f9150dade3f1?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-DEBIAN12-PYTHON311-3325304","SNYK-DEBIAN12-PYTHON311-3325304","SNYK-DEBIAN12-PYTHON311-5853785","SNYK-DEBIAN12-PYTHON311-5853785","SNYK-DEBIAN12-SYSTEMD-6277507"],"vulns":["SNYK-DEBIAN12-PYTHON311-3325304","SNYK-DEBIAN12-PYTHON311-5853785","SNYK-DEBIAN12-SYSTEMD-6277507"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
krutten commented 4 months ago

File in the vendored directory