SODALITE-EU / hpc-exporter

0 stars 2 forks source link

[Snyk] Security upgrade golang from 1.16-alpine to 1.21.11-alpine #73

Open spresser-hlrs opened 3 months ago

spresser-hlrs 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 5 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): - `docker/Dockerfile` We recommend upgrading to `golang:1.21.11-alpine`, as this image has only **1** 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 | :-------------------------:|:-------------------------|:------------------------- ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | Out-of-bounds Write
[SNYK-ALPINE315-ZLIB-2976173](https://snyk.io/vuln/SNYK-ALPINE315-ZLIB-2976173) |   **714**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | CVE-2022-28391
[SNYK-ALPINE315-BUSYBOX-2440607](https://snyk.io/vuln/SNYK-ALPINE315-BUSYBOX-2440607) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Access of Resource Using Incompatible Type ('Type Confusion')
[SNYK-ALPINE315-OPENSSL-3314622](https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3314622) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Double Free
[SNYK-ALPINE315-OPENSSL-3314629](https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3314629) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Improper Certificate Validation
[SNYK-ALPINE315-OPENSSL-3368753](https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3368753) |   **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/spresser-hlrs/project/c7fc3ca3-8d59-453d-9a53-af93b2e70812?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/spresser-hlrs/project/c7fc3ca3-8d59-453d-9a53-af93b2e70812?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:** 🦉 [Access of Resource Using Incompatible Type ('Type Confusion')](https://learn.snyk.io/lesson/type-confusion/?loc=fix-pr) 🦉 [Double Free](https://learn.snyk.io/lesson/double-free/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"golang","from":"1.16-alpine","to":"1.21.11-alpine"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-ZLIB-2976173","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":"Out-of-bounds Write"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-OPENSSL-3314622","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":"Access of Resource Using Incompatible Type ('Type Confusion')"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-OPENSSL-3314629","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":"Double Free"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-OPENSSL-3368753","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 Certificate Validation"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ALPINE315-BUSYBOX-2440607","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":"CVE-2022-28391"}],"prId":"f2c12d59-dedc-420e-957d-45f7a1f20d0a","prPublicId":"f2c12d59-dedc-420e-957d-45f7a1f20d0a","packageManager":"dockerfile","priorityScoreList":[714,614,614,614,614],"projectPublicId":"c7fc3ca3-8d59-453d-9a53-af93b2e70812","projectUrl":"https://app.snyk.io/org/spresser-hlrs/project/c7fc3ca3-8d59-453d-9a53-af93b2e70812?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-ALPINE315-BUSYBOX-2440607","SNYK-ALPINE315-OPENSSL-3314622","SNYK-ALPINE315-OPENSSL-3314629","SNYK-ALPINE315-OPENSSL-3368753","SNYK-ALPINE315-ZLIB-2976173"],"vulns":["SNYK-ALPINE315-ZLIB-2976173","SNYK-ALPINE315-OPENSSL-3314622","SNYK-ALPINE315-OPENSSL-3314629","SNYK-ALPINE315-OPENSSL-3368753","SNYK-ALPINE315-BUSYBOX-2440607"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
sonarcloud[bot] commented 3 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint