waarzitjenu / server

Back-end server (API) of waarzitje.nu.
European Union Public License 1.2
12 stars 4 forks source link

[Snyk] Security upgrade golang from 1.14 to 1.21.12 #166

Open ricardobalk opened 3 months ago

ricardobalk commented 3 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 4 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): - `Dockerfile` We recommend upgrading to `golang:1.21.12`, 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') | Resource Exhaustion
[SNYK-DEBIAN10-NGHTTP2-5953390](https://snyk.io/vuln/SNYK-DEBIAN10-NGHTTP2-5953390) |   **829**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | CVE-2023-26604
[SNYK-DEBIAN10-SYSTEMD-3339153](https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-3339153) |   **786**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | CVE-2023-26604
[SNYK-DEBIAN10-SYSTEMD-3339153](https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-3339153) |   **786**   ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | Directory Traversal
[SNYK-DEBIAN10-DPKG-2847944](https://snyk.io/vuln/SNYK-DEBIAN10-DPKG-2847944) |   **714**   ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | XML External Entity (XXE) Injection
[SNYK-DEBIAN10-PYTHON27-5853772](https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-5853772) |   **714**   --- > [!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/ricardobalk/project/00a04429-2f5b-4161-b39b-f21521375a98?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/ricardobalk/project/00a04429-2f5b-4161-b39b-f21521375a98?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:** 🦉 [Resource Exhaustion](https://learn.snyk.io/lesson/redos/?loc=fix-pr) 🦉 [XML External Entity (XXE) Injection](https://learn.snyk.io/lesson/xxe/?loc=fix-pr) 🦉 [Directory Traversal](https://learn.snyk.io/lesson/directory-traversal/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"golang","from":"1.14","to":"1.21.12"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Mature","id":"SNYK-DEBIAN10-NGHTTP2-5953390","priority_score":829,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Resource Exhaustion"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN10-SYSTEMD-3339153","priority_score":786,"priority_score_factors":[{"type":"exploit","label":"Functional","score":171},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"CVE-2023-26604"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN10-SYSTEMD-3339153","priority_score":786,"priority_score_factors":[{"type":"exploit","label":"Functional","score":171},{"type":"fixability","label":true,"score":214},{"type":"severity","label":"high","score":400},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"CVE-2023-26604"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN10-PYTHON27-5853772","priority_score":714,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"XML External Entity (XXE) Injection"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN10-DPKG-2847944","priority_score":714,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Directory Traversal"}],"prId":"23755482-1aaf-43f1-9d14-971a9773c052","prPublicId":"23755482-1aaf-43f1-9d14-971a9773c052","packageManager":"dockerfile","priorityScoreList":[829,786,714,714],"projectPublicId":"00a04429-2f5b-4161-b39b-f21521375a98","projectUrl":"https://app.snyk.io/org/ricardobalk/project/00a04429-2f5b-4161-b39b-f21521375a98?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-DEBIAN10-DPKG-2847944","SNYK-DEBIAN10-NGHTTP2-5953390","SNYK-DEBIAN10-PYTHON27-5853772","SNYK-DEBIAN10-SYSTEMD-3339153","SNYK-DEBIAN10-SYSTEMD-3339153"],"vulns":["SNYK-DEBIAN10-NGHTTP2-5953390","SNYK-DEBIAN10-SYSTEMD-3339153","SNYK-DEBIAN10-PYTHON27-5853772","SNYK-DEBIAN10-DPKG-2847944"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'