samber / mo

🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)
https://pkg.go.dev/github.com/samber/mo
MIT License
2.61k stars 85 forks source link

[Snyk] Security upgrade golang from 1.22.3-bullseye to 1.22.5-bullseye #47

Closed samber closed 3 months ago

samber 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.22.5-bullseye`, as this image has only **177** 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 Verification of Cryptographic Signature
[SNYK-DEBIAN11-GNUTLS28-6159417](https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159417) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Information Exposure
[SNYK-DEBIAN11-GNUTLS28-6159419](https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-6159419) |   **614**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN11-LIBSSH2-5861756](https://snyk.io/vuln/SNYK-DEBIAN11-LIBSSH2-5861756) |   **614**   ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | Cleartext Transmission of Sensitive Information
[SNYK-DEBIAN11-CURL-3320493](https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493) |   **500**   ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png 'critical severity') | Cleartext Transmission of Sensitive Information
[SNYK-DEBIAN11-CURL-3320493](https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493) |   **500**   --- > [!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/samber/project/7315bcce-e8d8-49ec-ba37-5ec8374b953f?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/samber/project/7315bcce-e8d8-49ec-ba37-5ec8374b953f?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:** 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"golang","from":"1.22.3-bullseye","to":"1.22.5-bullseye"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-LIBSSH2-5861756","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":"Out-of-bounds Write"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-GNUTLS28-6159417","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 Verification of Cryptographic Signature"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-GNUTLS28-6159419","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":"Information Exposure"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-CURL-3320493","priority_score":500,"priority_score_factors":[{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Cleartext Transmission of Sensitive Information"},{"exploit_maturity":"No Known Exploit","id":"SNYK-DEBIAN11-CURL-3320493","priority_score":500,"priority_score_factors":[{"type":"severity","label":"critical","score":500},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Cleartext Transmission of Sensitive Information"}],"prId":"35f350bb-362c-4aaa-9682-a30734e5d9a6","prPublicId":"35f350bb-362c-4aaa-9682-a30734e5d9a6","packageManager":"dockerfile","priorityScoreList":[614,614,614,500],"projectPublicId":"7315bcce-e8d8-49ec-ba37-5ec8374b953f","projectUrl":"https://app.snyk.io/org/samber/project/7315bcce-e8d8-49ec-ba37-5ec8374b953f?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-DEBIAN11-CURL-3320493","SNYK-DEBIAN11-CURL-3320493","SNYK-DEBIAN11-GNUTLS28-6159417","SNYK-DEBIAN11-GNUTLS28-6159419","SNYK-DEBIAN11-LIBSSH2-5861756"],"vulns":["SNYK-DEBIAN11-LIBSSH2-5861756","SNYK-DEBIAN11-GNUTLS28-6159417","SNYK-DEBIAN11-GNUTLS28-6159419","SNYK-DEBIAN11-CURL-3320493"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
codecov-commenter commented 3 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.83%. Comparing base (27cbb93) to head (8589138).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #47 +/- ## ======================================= Coverage 88.83% 88.83% ======================================= Files 15 15 Lines 1164 1164 ======================================= Hits 1034 1034 Misses 115 115 Partials 15 15 ``` | [Flag](https://app.codecov.io/gh/samber/mo/pull/47/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Samuel+Berthe) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/samber/mo/pull/47/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Samuel+Berthe) | `88.83% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Samuel+Berthe#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.